Skip to content

Commit 8b82d87

Browse files
author
AWS
committed
Inspector2 Update: This release adds CSV format to GetCisScanReport for Inspector v2
1 parent aacbe54 commit 8b82d87

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
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": "Inspector2",
4+
"contributor": "",
5+
"description": "This release adds CSV format to GetCisScanReport for Inspector v2"
6+
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@
401401
{"shape":"ValidationException"},
402402
{"shape":"AccessDeniedException"},
403403
{"shape":"ThrottlingException"},
404+
{"shape":"ResourceNotFoundException"},
404405
{"shape":"InternalServerException"}
405406
],
406407
"documentation":"<p>Retrieves a CIS scan report.</p>"
@@ -2047,6 +2048,13 @@
20472048
"type":"string",
20482049
"pattern":"^\\d{12}|o-[a-z0-9]{10,32}$"
20492050
},
2051+
"CisReportFormat":{
2052+
"type":"string",
2053+
"enum":[
2054+
"PDF",
2055+
"CSV"
2056+
]
2057+
},
20502058
"CisReportStatus":{
20512059
"type":"string",
20522060
"enum":[
@@ -4922,6 +4930,10 @@
49224930
"type":"structure",
49234931
"required":["scanArn"],
49244932
"members":{
4933+
"reportFormat":{
4934+
"shape":"CisReportFormat",
4935+
"documentation":"<p> The format of the report. Valid values are <code>PDF</code> and <code>CSV</code>. If no value is specified, the report format defaults to <code>PDF</code>. </p>"
4936+
},
49254937
"scanArn":{
49264938
"shape":"CisScanArn",
49274939
"documentation":"<p>The scan ARN.</p>"
@@ -4941,7 +4953,7 @@
49414953
},
49424954
"url":{
49434955
"shape":"String",
4944-
"documentation":"<p> The URL where a PDF of the CIS scan report can be downloaded. </p>"
4956+
"documentation":"<p> The URL where a PDF or CSV of the CIS scan report can be downloaded. </p>"
49454957
}
49464958
}
49474959
},

0 commit comments

Comments
 (0)