-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvss-extension.json
187 lines (186 loc) · 7.38 KB
/
vss-extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"manifestVersion": 1,
"id": "vulnerability-scan",
"name": "WS-Vulnerability Scan",
"version": "0.2.12",
"publisher": "Tomer",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"description": "Scan for vulnerability with Mend (WhiteSource).",
"categories": [
"Azure Pipelines"
],
"icons": {
"default": "images/extension-icon.png"
},
"files": [
{
"path": "Task"
}
],
"tags": [
"mend", "whitesource", "vulnerability", "scan", "security", "opensource", "open-source"
],
"repository": {
"type": "git",
"uri": "https://github.com/LTomer/ws-vulnerability-scan"
},
"contributions": [
{
"id": "ws-vulnerability-scan",
"type": "ms.vss-distributed-task.task",
"description": "Scan vulnerability with Mend (WhiteSource) unified agent.",
"targets": [
"ms.vss-distributed-task.tasks"
],
"properties": {
"name": "Task"
}
},
{
"id": "ws-vulnerability-scan-service",
"description": "Service endpoint type for vulnerability-scan connections",
"type": "ms.vss-endpoint.service-endpoint-type",
"targets": [ "ms.vss-endpoint.endpoint-types" ],
"properties": {
"name": "ws-vulnerability-scan",
"displayName": "WS Vulnerability Scan",
"url": {
"displayName": "Server URL",
"helpText": "Server URL (not in used)",
"value": "https://saas.whitesourcesoftware.com"
},
"authenticationSchemes": [
{
"type": "ms.vss-endpoint.endpoint-auth-scheme-none",
"inputDescriptors": [
{
"id": "APIKey",
"name": "API Key",
"description": "Set the api key for Mend (WhiteSource) account.",
"inputMode": "passwordbox",
"isConfidential": true,
"validation": {
"isRequired": true,
"dataType": "string"
}
},
{
"id": "UserKey",
"name": "User Key",
"description": "Set the user key for API call (admin permision requierd). requierd to delete old scan",
"inputMode": "passwordbox",
"isConfidential": true,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "ConfigAgent",
"name": "Agent Configuration",
"description": "Set Agent Configuration.",
"inputMode": "textArea",
"isConfidential": false,
"validation": {
"isRequired": true,
"dataType": "string"
}
},
{
"id": "ScanType",
"name": "Scan Type",
"description": "Select which type of scan you should word",
"inputMode": "combo",
"isConfidential": false,
"hasDynamicValueInformation": false,
"values": {
"inputId": "defaultVersionTypeValues",
"isLimitedToPossibleValues": true,
"possibleValues": [
{
"value": "ProjectForEachBranch",
"displayValue": "Scan project for each branch"
},
{
"value": "ScanLongTermBranches",
"displayValue": "Scan Default Branch (long term branches)"
},
{
"value": "OneProjectForAllBranch",
"displayValue": "One Project For All Branches"
}
]
},
"validation": {
"isRequired": true,
"dataType": "string"
}
},
{
"id": "buildFailed",
"name": "Build Failed",
"description": "In case of policy violation, if selected the pipeline will Failed else the pipeline will Succeeded With Issues",
"inputMode": "checkbox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "boolean"
},
"defaultValue": false
},
{
"id": "AgentUrl",
"name": "Agent Url",
"description": "URL for download unified agent, Empty - use defualt url.",
"inputMode": "textBox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "DownloadAgentDays",
"name": "Download Agent (Days)",
"description": "Download new agent every X days, Empty - every 7 days.",
"inputMode": "textBox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "PackagesFilePattern",
"name": "Packages File Pattern",
"description": "Discribe the filenames that contain list of packages that necessary to the project with Regex. i.e. .Net Core - csproj files. This propery relevant for Git repository.",
"inputMode": "textBox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "APIBaseURL",
"name": "API Base URL",
"description": "Get from Mend (WhiteSource) portal, Integration Tag, under Organization.",
"inputMode": "textBox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
}
]
}
],
"helpMarkDown": "<a href=\"url-to-documentation-TEST\" target=\"_blank\"><b>Learn More for TEST</b></a>"
}
}
]
}