Menu
Amazon Inspector
API Reference (API Version 2016-02-16)

AssessmentRunFilter

Used as the request parameter in the ListAssessmentRuns action.

Contents

completionTimeRange

For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

Type: TimestampRange object

Required: No

durationRange

For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

Type: DurationRange object

Required: No

namePattern

For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 140.

Required: No

rulesPackageArns

For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Length Constraints: Minimum length of 1. Maximum length of 300.

Required: No

startTimeRange

For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

Type: TimestampRange object

Required: No

stateChangeTimeRange

For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

Type: TimestampRange object

Required: No

states

For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Valid Values: CREATED | START_DATA_COLLECTION_PENDING | START_DATA_COLLECTION_IN_PROGRESS | COLLECTING_DATA | STOP_DATA_COLLECTION_PENDING | DATA_COLLECTED | START_EVALUATING_RULES_PENDING | EVALUATING_RULES | FAILED | ERROR | COMPLETED | COMPLETED_WITH_ERRORS | CANCELED

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: