Skip to content

Commit 4cc8868

Browse files
author
AWS
committed
Inspector Scan Update: Adds an additional OutputFormat
1 parent 46b9264 commit 4cc8868

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Inspector Scan",
4+
"contributor": "",
5+
"description": "Adds an additional OutputFormat"
6+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"pagination": {
3-
}
2+
"pagination": {}
43
}

services/inspectorscan/src/main/resources/codegen-resources/service-2.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"version":"2.0",
33
"metadata":{
44
"apiVersion":"2023-08-08",
5+
"auth":["aws.auth#sigv4"],
56
"endpointPrefix":"inspector-scan",
6-
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceAbbreviation":"inspector-scan",
910
"serviceFullName":"Inspector Scan",
1011
"serviceId":"Inspector Scan",
@@ -28,7 +29,7 @@
2829
{"shape":"ValidationException"},
2930
{"shape":"AccessDeniedException"}
3031
],
31-
"documentation":"<p>Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the <a href=\"\">Amazon Inspector SBOM generator</a>.</p>",
32+
"documentation":"<p>Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the <a href=\"https://docs.aws.amazon.com/inspector/latest/user/sbom-generator.html\">Amazon Inspector SBOM generator</a>.</p> <note> <p> The output of this action reports NVD and CVSS scores when NVD and CVSS scores are available. Because the output reports both scores, you might notice a discrepency between them. However, you can triage the severity of either score depending on the vendor of your choosing. </p> </note>",
3233
"idempotent":true
3334
}
3435
},
@@ -86,13 +87,13 @@
8687
"type":"string",
8788
"enum":[
8889
"CYCLONE_DX_1_5",
89-
"INSPECTOR"
90+
"INSPECTOR",
91+
"INSPECTOR_ALT"
9092
]
9193
},
9294
"Sbom":{
9395
"type":"structure",
94-
"members":{
95-
},
96+
"members":{},
9697
"document":true
9798
},
9899
"ScanSbomRequest":{
@@ -101,7 +102,7 @@
101102
"members":{
102103
"sbom":{
103104
"shape":"Sbom",
104-
"documentation":"<p>The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format.</p>"
105+
"documentation":"<p>The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format. This format limits you to passing 2000 components before throwing a <code>ValidException</code> error.</p>"
105106
},
106107
"outputFormat":{
107108
"shape":"OutputFormat",

0 commit comments

Comments
 (0)