list_cis_scans
¶
list_cis_scans(
*,
config_overrides: Optional[Inspector2ClientConfig] = None,
filter_criteria: Optional[ListCisScansFilterCriteria] = None,
detail_level: Optional[ListCisScansDetailLevel] = None,
sort_by: Optional[ListCisScansSortBy] = None,
sort_order: Optional[CisSortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[ListCisScansMaxResults] = None,
) -> ListCisScansResponse
Returns a CIS scan list.
Parameters:
-
filter_criteria(Optional[ListCisScansFilterCriteria], default:None) –The CIS scan filter criteria.
-
detail_level(Optional[ListCisScansDetailLevel], default:None) –The detail applied to the CIS scan.
-
sort_by(Optional[ListCisScansSortBy], default:None) –The CIS scans sort by order.
-
sort_order(Optional[CisSortOrder], default:None) –The CIS scans sort order.
-
next_token(Optional[NextToken], default:None) –The pagination token from a previous request that's used to retrieve the next page of results.
-
max_results(Optional[ListCisScansMaxResults], default:None) –The maximum number of results to be returned.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
For
Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. -
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample ListCisScans Call
Source code in docs_src/capo_inspector2/_services/inspector2.py
3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 | |