@iglesys/techvulns-proto 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +6 -0
- package/gen/js/.keep +0 -0
- package/gen/js/techvulns/v1/tech_grpc_pb.js +44 -0
- package/gen/js/techvulns/v1/tech_pb.js +1013 -0
- package/package.json +23 -0
- package/techvulns/v1/tech.proto +36 -0
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@iglesys/techvulns-proto",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"version": "0.0.1",
|
|
7
|
+
"main": "gen/js/techvulns/v1/tech_pb.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"gen/js",
|
|
10
|
+
"techvulns"
|
|
11
|
+
],
|
|
12
|
+
"license": "GPL-3.0-only",
|
|
13
|
+
"description": "",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/Iglesys347/tech-vulns-proto.git"
|
|
17
|
+
},
|
|
18
|
+
"author": "Iglesys347",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/Iglesys347/tech-vulns-proto/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/Iglesys347/tech-vulns-proto#readme"
|
|
23
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package techvulns.v1;
|
|
4
|
+
|
|
5
|
+
option go_package = "github.com/your-org/proto-repo/gen/go/techvulns/v1;techvulnsv1";
|
|
6
|
+
|
|
7
|
+
service TechnologyService {
|
|
8
|
+
rpc Analyze(AnalyzeRequest) returns (AnalyzeResponse);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message AnalyzeRequest {
|
|
12
|
+
string target = 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message AnalyzeResponse {
|
|
16
|
+
repeated Technology technologies = 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message Technology {
|
|
20
|
+
message Category {
|
|
21
|
+
int32 id = 1;
|
|
22
|
+
string slug = 2;
|
|
23
|
+
string name = 3;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
string slug = 1;
|
|
27
|
+
string name = 2;
|
|
28
|
+
string description = 3;
|
|
29
|
+
int32 confidence = 4;
|
|
30
|
+
string version = 5;
|
|
31
|
+
string icon = 6;
|
|
32
|
+
string website = 7;
|
|
33
|
+
string cpe = 8;
|
|
34
|
+
Category category = 9;
|
|
35
|
+
bool root_path = 10;
|
|
36
|
+
}
|