|
17 | 17 | "schema": {
|
18 | 18 | "type": "object",
|
19 | 19 | "properties": {
|
| 20 | + "filename": { |
| 21 | + "type": "string" |
| 22 | + }, |
20 | 23 | "integrationId": {
|
21 | 24 | "type": "string"
|
22 | 25 | },
|
|
29 | 32 | "providerId": {
|
30 | 33 | "type": "string"
|
31 | 34 | },
|
32 |
| - "vulnerabilityFindings": { |
33 |
| - "type": "array" |
34 |
| - } |
| 35 | + "vulnerabilityFindings": { } |
35 | 36 | },
|
36 | 37 | "required": [
|
| 38 | + "filename", |
37 | 39 | "integrationId",
|
38 | 40 | "dataSourceId",
|
39 | 41 | "cloudPlatform",
|
|
43 | 45 | },
|
44 | 46 | "inspector": {
|
45 | 47 | "inputs": {
|
| 48 | + "filename": { |
| 49 | + "type": "text", |
| 50 | + "label": "File Name", |
| 51 | + "index": 0 |
| 52 | + }, |
46 | 53 | "integrationId": {
|
47 | 54 | "type": "text",
|
48 | 55 | "label": "Integration ID",
|
|
55 | 62 | "tooltip": "The ID that uniquely identifies asset findings within a tenant and integration ID. Can be a subscription ID.",
|
56 | 63 | "index": 1
|
57 | 64 | },
|
| 65 | + "dataSourceAnalysisDate": { |
| 66 | + "type": "date-time", |
| 67 | + "label": "Analysis Date", |
| 68 | + "tooltip": "The date the scan was performed.", |
| 69 | + "config": { |
| 70 | + "enableTime": true |
| 71 | + }, |
| 72 | + "index": 1 |
| 73 | + }, |
58 | 74 | "providerId": {
|
59 | 75 | "type": "text",
|
60 | 76 | "label": "Provider ID",
|
61 |
| - "tooltip": "A unique identifier assigned to a specific cloud asset by the cloud service provider when the asset is created, allowing for the identification and differentiation of the asset within the cloud computing ecosystem. ARN—AWS, Resource group—Azure.", |
| 77 | + "tooltip": "A unique identifier assigned to a specific cloud asset by the cloud service provider when the asset is created, allowing for the identification and differentiation of the asset within the cloud computing ecosystem.", |
62 | 78 | "index": 2
|
63 | 79 | },
|
64 | 80 | "cloudPlatform": {
|
|
113 | 129 | "externalDetectionSource": {
|
114 | 130 | "type": "select",
|
115 | 131 | "index": 2,
|
116 |
| - "label": "Severity", |
117 |
| - "defaultValue": "Medium", |
| 132 | + "label": "External Detection Source", |
| 133 | + "defaultValue": "Package", |
118 | 134 | "tooltip": "The severity of the vulnerability. Default is Medium",
|
119 | 135 | "required": true,
|
120 | 136 | "options": [
|
121 | 137 | { "label": "Package", "value": "Package" },
|
122 |
| - { "label": "Default Package", "value": "Default Package" }, |
| 138 | + { "label": "Default Package", "value": "DefaultPackage" }, |
123 | 139 | { "label": "Library", "value": "Library" },
|
124 |
| - { "label": "Operating System", ",value": "Operating System" }, |
125 |
| - { "label": "Installed Program (Windows)", "value": "Installed Program (Windows)" }, |
126 |
| - { |
127 |
| - "label": "Installed Program By Service (Windows)", |
128 |
| - "value": "Installed Program By Service (Windows)" |
129 |
| - }, |
130 |
| - { "label": "File Path", "value": "File Path" } |
| 140 | + { "label": "Config File", "value": "ConfigFile" }, |
| 141 | + { "label": "Open Port", "value": "OpenPort" }, |
| 142 | + { "label": "Startup Service", "value": "StartupService" }, |
| 143 | + { "label": "Configuration", "value": "Configuration" }, |
| 144 | + { "label": "Cloned Repository", "value": "ClonedRepository" }, |
| 145 | + { "label": "OS", "value": "OS" }, |
| 146 | + { "label": "Artifacts On Disk", "value": "ArtifactsOnDisk" }, |
| 147 | + { "label": "Windows Registry", "value": "WindowsRegistry" }, |
| 148 | + { "label": "Installed Program", "value": "InstalledProgram" }, |
| 149 | + { "label": "File Path", "value": "FilePath" }, |
| 150 | + { "label": "Windows Service", "value": "WindowsService" }, |
| 151 | + { "label": "Installed Program By Service", "value": "InstalledProgramByService" }, |
| 152 | + { "label": "Hosted Database Scan", "value": "HostedDatabaseScan" }, |
| 153 | + { "label": "External Network Scan", "value": "ExternalNetworkScan" }, |
| 154 | + { "label": "Cloud API", "value": "CloudAPI" } |
131 | 155 | ]
|
132 | 156 | },
|
133 | 157 | "externalFindingLink": {
|
|
136 | 160 | "label": "External Finding Link",
|
137 | 161 | "tooltip": "A link to the source of the external finding."
|
138 | 162 | },
|
139 |
| - "detailsName": { |
| 163 | + "detailedName": { |
140 | 164 | "type": "text",
|
141 | 165 | "index": 1,
|
142 |
| - "label": "Details Name", |
| 166 | + "label": "Detailed Name", |
143 | 167 | "tooltip": "The details of the externalDetectionSource, such as \"Package,\" should include relevant information about the package. For instance, if the externalDetectionSource is \"libncurses6,\" the \"Details Name\" should reflect details about the package, such as \"libncurses6 package.\"."
|
144 | 168 | },
|
145 | 169 | "version": {
|
|
154 | 178 | "label": "Description",
|
155 | 179 | "tooltip": "A description of the finding."
|
156 | 180 | },
|
157 |
| - "sourceName": { |
| 181 | + "source": { |
158 | 182 | "type": "text",
|
159 | 183 | "index": 1,
|
160 |
| - "label": "Source Name", |
| 184 | + "label": "Source", |
161 | 185 | "tooltip": "The name of the product that detected the vulnerability."
|
162 | 186 | },
|
163 | 187 | "remediation": {
|
164 | 188 | "type": "text",
|
165 | 189 | "index": 1,
|
166 | 190 | "label": "Remediation",
|
| 191 | + "required": true, |
167 | 192 | "tooltip": "The remediation for the vulnerability."
|
168 | 193 | },
|
169 |
| - "validatedInRuntime": { |
| 194 | + "validatedAtRuntime": { |
170 | 195 | "type": "toggle",
|
171 | 196 | "index": 1,
|
172 |
| - "label": "Validated In Runtime", |
| 197 | + "label": "Validated At Runtime", |
173 | 198 | "defaultValue": false,
|
174 | 199 | "tooltip": "Indicates if the finding was detected during runtime (true), or if it was detected during offline or static scanning (false)."
|
175 | 200 | }
|
176 | 201 | }
|
177 |
| - }, |
178 |
| - "filename": { |
179 |
| - "type": "text", |
180 |
| - "label": "File Name", |
181 |
| - "index": 0 |
182 |
| - }, |
183 |
| - "fileContent": { |
184 |
| - "type": "textarea", |
185 |
| - "index": 1, |
186 |
| - "label": "File Content", |
187 |
| - "tooltip": "Specify the file content in JSON format <b>(Ignored if 'File ID' is set)</b>." |
188 | 202 | }
|
189 | 203 | }
|
190 | 204 | }
|
|
0 commit comments