Class: Aws::Inspector::Types::ListFindingsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector::Types::ListFindingsRequest
- Defined in:
- gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb
Overview
When making an API call, you may pass ListFindingsRequest data as a hash:
{
assessment_run_arns: ["Arn"],
filter: {
agent_ids: ["AgentId"],
auto_scaling_groups: ["AutoScalingGroup"],
rule_names: ["RuleName"],
severities: ["Low"], # accepts Low, Medium, High, Informational, Undefined
rules_package_arns: ["Arn"],
attributes: [
{
key: "AttributeKey", # required
value: "AttributeValue",
},
],
user_attributes: [
{
key: "AttributeKey", # required
value: "AttributeValue",
},
],
creation_time_range: {
begin_date: Time.now,
end_date: Time.now,
},
},
next_token: "PaginationToken",
max_results: 1,
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#assessment_run_arns ⇒ Array<String>
The ARNs of the assessment runs that generate the findings that you want to list.
-
#filter ⇒ Types::FindingFilter
You can use this parameter to specify a subset of data to be included in the action's response.
-
#max_results ⇒ Integer
You can use this parameter to indicate the maximum number of items you want in the response.
-
#next_token ⇒ String
You can use this parameter when paginating results.
Instance Attribute Details
#assessment_run_arns ⇒ Array<String>
The ARNs of the assessment runs that generate the findings that you want to list.
2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2447 class ListFindingsRequest < Struct.new( :assessment_run_arns, :filter, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#filter ⇒ Types::FindingFilter
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2447 class ListFindingsRequest < Struct.new( :assessment_run_arns, :filter, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#max_results ⇒ Integer
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2447 class ListFindingsRequest < Struct.new( :assessment_run_arns, :filter, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2447 class ListFindingsRequest < Struct.new( :assessment_run_arns, :filter, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end |