Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Operations
- AddAttributesToFindings
- CreateAssessmentTarget
- CreateAssessmentTemplate
- CreateExclusionsPreview
- CreateResourceGroup
- DeleteAssessmentRun
- DeleteAssessmentTarget
- DeleteAssessmentTemplate
- DescribeAssessmentRuns
- DescribeAssessmentTargets
- DescribeAssessmentTemplates
- DescribeCrossAccountAccessRole
- DescribeExclusions
- DescribeFindings
- DescribeResourceGroups
- DescribeRulesPackages
- GetAssessmentReport
- GetExclusionsPreview
- GetTelemetryMetadata
- ListAssessmentRunAgents
- ListAssessmentRuns
- ListAssessmentTargets
- ListAssessmentTemplates
- ListEventSubscriptions
- ListExclusions
- ListFindings
- ListRulesPackages
- ListTagsForResource
- PreviewAgents
- RegisterCrossAccountAccessRole
- RemoveAttributesFromFindings
- SetTagsForResource
- StartAssessmentRun
- StopAssessmentRun
- SubscribeToEvent
- UnsubscribeFromEvent
- UpdateAssessmentTarget
- Types
- AgentFilter
- AgentPreview
- AssessmentRun
- AssessmentRunAgent
- AssessmentRunFilter
- AssessmentRunNotification
- AssessmentRunStateChange
- AssessmentTarget
- AssessmentTargetFilter
- AssessmentTemplate
- AssessmentTemplateFilter
- AssetAttributes
- Attribute
- DurationRange
- EventSubscription
- Exclusion
- ExclusionPreview
- FailedItemDetails
- Finding
- FindingFilter
- InspectorServiceAttributes
- NetworkInterface
- PrivateIp
- ResourceGroup
- ResourceGroupTag
- RulesPackage
- Scope
- SecurityGroup
- Subscription
- Tag
- TelemetryMetadata
- TimestampRange
Synopsis
- addAttributesToFindings_findingArns :: Lens' AddAttributesToFindings (NonEmpty Text)
- addAttributesToFindings_attributes :: Lens' AddAttributesToFindings [Attribute]
- addAttributesToFindingsResponse_httpStatus :: Lens' AddAttributesToFindingsResponse Int
- addAttributesToFindingsResponse_failedItems :: Lens' AddAttributesToFindingsResponse (HashMap Text FailedItemDetails)
- createAssessmentTarget_resourceGroupArn :: Lens' CreateAssessmentTarget (Maybe Text)
- createAssessmentTarget_assessmentTargetName :: Lens' CreateAssessmentTarget Text
- createAssessmentTargetResponse_httpStatus :: Lens' CreateAssessmentTargetResponse Int
- createAssessmentTargetResponse_assessmentTargetArn :: Lens' CreateAssessmentTargetResponse Text
- createAssessmentTemplate_userAttributesForFindings :: Lens' CreateAssessmentTemplate (Maybe [Attribute])
- createAssessmentTemplate_assessmentTargetArn :: Lens' CreateAssessmentTemplate Text
- createAssessmentTemplate_assessmentTemplateName :: Lens' CreateAssessmentTemplate Text
- createAssessmentTemplate_durationInSeconds :: Lens' CreateAssessmentTemplate Natural
- createAssessmentTemplate_rulesPackageArns :: Lens' CreateAssessmentTemplate [Text]
- createAssessmentTemplateResponse_httpStatus :: Lens' CreateAssessmentTemplateResponse Int
- createAssessmentTemplateResponse_assessmentTemplateArn :: Lens' CreateAssessmentTemplateResponse Text
- createExclusionsPreview_assessmentTemplateArn :: Lens' CreateExclusionsPreview Text
- createExclusionsPreviewResponse_httpStatus :: Lens' CreateExclusionsPreviewResponse Int
- createExclusionsPreviewResponse_previewToken :: Lens' CreateExclusionsPreviewResponse Text
- createResourceGroup_resourceGroupTags :: Lens' CreateResourceGroup (NonEmpty ResourceGroupTag)
- createResourceGroupResponse_httpStatus :: Lens' CreateResourceGroupResponse Int
- createResourceGroupResponse_resourceGroupArn :: Lens' CreateResourceGroupResponse Text
- deleteAssessmentRun_assessmentRunArn :: Lens' DeleteAssessmentRun Text
- deleteAssessmentTarget_assessmentTargetArn :: Lens' DeleteAssessmentTarget Text
- deleteAssessmentTemplate_assessmentTemplateArn :: Lens' DeleteAssessmentTemplate Text
- describeAssessmentRuns_assessmentRunArns :: Lens' DescribeAssessmentRuns (NonEmpty Text)
- describeAssessmentRunsResponse_httpStatus :: Lens' DescribeAssessmentRunsResponse Int
- describeAssessmentRunsResponse_assessmentRuns :: Lens' DescribeAssessmentRunsResponse [AssessmentRun]
- describeAssessmentRunsResponse_failedItems :: Lens' DescribeAssessmentRunsResponse (HashMap Text FailedItemDetails)
- describeAssessmentTargets_assessmentTargetArns :: Lens' DescribeAssessmentTargets (NonEmpty Text)
- describeAssessmentTargetsResponse_httpStatus :: Lens' DescribeAssessmentTargetsResponse Int
- describeAssessmentTargetsResponse_assessmentTargets :: Lens' DescribeAssessmentTargetsResponse [AssessmentTarget]
- describeAssessmentTargetsResponse_failedItems :: Lens' DescribeAssessmentTargetsResponse (HashMap Text FailedItemDetails)
- describeAssessmentTemplates_assessmentTemplateArns :: Lens' DescribeAssessmentTemplates (NonEmpty Text)
- describeAssessmentTemplatesResponse_httpStatus :: Lens' DescribeAssessmentTemplatesResponse Int
- describeAssessmentTemplatesResponse_assessmentTemplates :: Lens' DescribeAssessmentTemplatesResponse [AssessmentTemplate]
- describeAssessmentTemplatesResponse_failedItems :: Lens' DescribeAssessmentTemplatesResponse (HashMap Text FailedItemDetails)
- describeCrossAccountAccessRoleResponse_httpStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int
- describeCrossAccountAccessRoleResponse_roleArn :: Lens' DescribeCrossAccountAccessRoleResponse Text
- describeCrossAccountAccessRoleResponse_valid :: Lens' DescribeCrossAccountAccessRoleResponse Bool
- describeCrossAccountAccessRoleResponse_registeredAt :: Lens' DescribeCrossAccountAccessRoleResponse UTCTime
- describeExclusions_locale :: Lens' DescribeExclusions (Maybe Locale)
- describeExclusions_exclusionArns :: Lens' DescribeExclusions (NonEmpty Text)
- describeExclusionsResponse_httpStatus :: Lens' DescribeExclusionsResponse Int
- describeExclusionsResponse_exclusions :: Lens' DescribeExclusionsResponse (HashMap Text Exclusion)
- describeExclusionsResponse_failedItems :: Lens' DescribeExclusionsResponse (HashMap Text FailedItemDetails)
- describeFindings_locale :: Lens' DescribeFindings (Maybe Locale)
- describeFindings_findingArns :: Lens' DescribeFindings (NonEmpty Text)
- describeFindingsResponse_httpStatus :: Lens' DescribeFindingsResponse Int
- describeFindingsResponse_findings :: Lens' DescribeFindingsResponse [Finding]
- describeFindingsResponse_failedItems :: Lens' DescribeFindingsResponse (HashMap Text FailedItemDetails)
- describeResourceGroups_resourceGroupArns :: Lens' DescribeResourceGroups (NonEmpty Text)
- describeResourceGroupsResponse_httpStatus :: Lens' DescribeResourceGroupsResponse Int
- describeResourceGroupsResponse_resourceGroups :: Lens' DescribeResourceGroupsResponse [ResourceGroup]
- describeResourceGroupsResponse_failedItems :: Lens' DescribeResourceGroupsResponse (HashMap Text FailedItemDetails)
- describeRulesPackages_locale :: Lens' DescribeRulesPackages (Maybe Locale)
- describeRulesPackages_rulesPackageArns :: Lens' DescribeRulesPackages (NonEmpty Text)
- describeRulesPackagesResponse_httpStatus :: Lens' DescribeRulesPackagesResponse Int
- describeRulesPackagesResponse_rulesPackages :: Lens' DescribeRulesPackagesResponse [RulesPackage]
- describeRulesPackagesResponse_failedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails)
- getAssessmentReport_assessmentRunArn :: Lens' GetAssessmentReport Text
- getAssessmentReport_reportFileFormat :: Lens' GetAssessmentReport ReportFileFormat
- getAssessmentReport_reportType :: Lens' GetAssessmentReport ReportType
- getAssessmentReportResponse_url :: Lens' GetAssessmentReportResponse (Maybe Text)
- getAssessmentReportResponse_httpStatus :: Lens' GetAssessmentReportResponse Int
- getAssessmentReportResponse_status :: Lens' GetAssessmentReportResponse ReportStatus
- getExclusionsPreview_locale :: Lens' GetExclusionsPreview (Maybe Locale)
- getExclusionsPreview_maxResults :: Lens' GetExclusionsPreview (Maybe Int)
- getExclusionsPreview_nextToken :: Lens' GetExclusionsPreview (Maybe Text)
- getExclusionsPreview_assessmentTemplateArn :: Lens' GetExclusionsPreview Text
- getExclusionsPreview_previewToken :: Lens' GetExclusionsPreview Text
- getExclusionsPreviewResponse_exclusionPreviews :: Lens' GetExclusionsPreviewResponse (Maybe [ExclusionPreview])
- getExclusionsPreviewResponse_nextToken :: Lens' GetExclusionsPreviewResponse (Maybe Text)
- getExclusionsPreviewResponse_httpStatus :: Lens' GetExclusionsPreviewResponse Int
- getExclusionsPreviewResponse_previewStatus :: Lens' GetExclusionsPreviewResponse PreviewStatus
- getTelemetryMetadata_assessmentRunArn :: Lens' GetTelemetryMetadata Text
- getTelemetryMetadataResponse_httpStatus :: Lens' GetTelemetryMetadataResponse Int
- getTelemetryMetadataResponse_telemetryMetadata :: Lens' GetTelemetryMetadataResponse [TelemetryMetadata]
- listAssessmentRunAgents_filter :: Lens' ListAssessmentRunAgents (Maybe AgentFilter)
- listAssessmentRunAgents_maxResults :: Lens' ListAssessmentRunAgents (Maybe Int)
- listAssessmentRunAgents_nextToken :: Lens' ListAssessmentRunAgents (Maybe Text)
- listAssessmentRunAgents_assessmentRunArn :: Lens' ListAssessmentRunAgents Text
- listAssessmentRunAgentsResponse_nextToken :: Lens' ListAssessmentRunAgentsResponse (Maybe Text)
- listAssessmentRunAgentsResponse_httpStatus :: Lens' ListAssessmentRunAgentsResponse Int
- listAssessmentRunAgentsResponse_assessmentRunAgents :: Lens' ListAssessmentRunAgentsResponse [AssessmentRunAgent]
- listAssessmentRuns_assessmentTemplateArns :: Lens' ListAssessmentRuns (Maybe [Text])
- listAssessmentRuns_filter :: Lens' ListAssessmentRuns (Maybe AssessmentRunFilter)
- listAssessmentRuns_maxResults :: Lens' ListAssessmentRuns (Maybe Int)
- listAssessmentRuns_nextToken :: Lens' ListAssessmentRuns (Maybe Text)
- listAssessmentRunsResponse_nextToken :: Lens' ListAssessmentRunsResponse (Maybe Text)
- listAssessmentRunsResponse_httpStatus :: Lens' ListAssessmentRunsResponse Int
- listAssessmentRunsResponse_assessmentRunArns :: Lens' ListAssessmentRunsResponse [Text]
- listAssessmentTargets_filter :: Lens' ListAssessmentTargets (Maybe AssessmentTargetFilter)
- listAssessmentTargets_maxResults :: Lens' ListAssessmentTargets (Maybe Int)
- listAssessmentTargets_nextToken :: Lens' ListAssessmentTargets (Maybe Text)
- listAssessmentTargetsResponse_nextToken :: Lens' ListAssessmentTargetsResponse (Maybe Text)
- listAssessmentTargetsResponse_httpStatus :: Lens' ListAssessmentTargetsResponse Int
- listAssessmentTargetsResponse_assessmentTargetArns :: Lens' ListAssessmentTargetsResponse [Text]
- listAssessmentTemplates_assessmentTargetArns :: Lens' ListAssessmentTemplates (Maybe [Text])
- listAssessmentTemplates_filter :: Lens' ListAssessmentTemplates (Maybe AssessmentTemplateFilter)
- listAssessmentTemplates_maxResults :: Lens' ListAssessmentTemplates (Maybe Int)
- listAssessmentTemplates_nextToken :: Lens' ListAssessmentTemplates (Maybe Text)
- listAssessmentTemplatesResponse_nextToken :: Lens' ListAssessmentTemplatesResponse (Maybe Text)
- listAssessmentTemplatesResponse_httpStatus :: Lens' ListAssessmentTemplatesResponse Int
- listAssessmentTemplatesResponse_assessmentTemplateArns :: Lens' ListAssessmentTemplatesResponse [Text]
- listEventSubscriptions_maxResults :: Lens' ListEventSubscriptions (Maybe Int)
- listEventSubscriptions_nextToken :: Lens' ListEventSubscriptions (Maybe Text)
- listEventSubscriptions_resourceArn :: Lens' ListEventSubscriptions (Maybe Text)
- listEventSubscriptionsResponse_nextToken :: Lens' ListEventSubscriptionsResponse (Maybe Text)
- listEventSubscriptionsResponse_httpStatus :: Lens' ListEventSubscriptionsResponse Int
- listEventSubscriptionsResponse_subscriptions :: Lens' ListEventSubscriptionsResponse [Subscription]
- listExclusions_maxResults :: Lens' ListExclusions (Maybe Int)
- listExclusions_nextToken :: Lens' ListExclusions (Maybe Text)
- listExclusions_assessmentRunArn :: Lens' ListExclusions Text
- listExclusionsResponse_nextToken :: Lens' ListExclusionsResponse (Maybe Text)
- listExclusionsResponse_httpStatus :: Lens' ListExclusionsResponse Int
- listExclusionsResponse_exclusionArns :: Lens' ListExclusionsResponse [Text]
- listFindings_assessmentRunArns :: Lens' ListFindings (Maybe [Text])
- listFindings_filter :: Lens' ListFindings (Maybe FindingFilter)
- listFindings_maxResults :: Lens' ListFindings (Maybe Int)
- listFindings_nextToken :: Lens' ListFindings (Maybe Text)
- listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text)
- listFindingsResponse_httpStatus :: Lens' ListFindingsResponse Int
- listFindingsResponse_findingArns :: Lens' ListFindingsResponse [Text]
- listRulesPackages_maxResults :: Lens' ListRulesPackages (Maybe Int)
- listRulesPackages_nextToken :: Lens' ListRulesPackages (Maybe Text)
- listRulesPackagesResponse_nextToken :: Lens' ListRulesPackagesResponse (Maybe Text)
- listRulesPackagesResponse_httpStatus :: Lens' ListRulesPackagesResponse Int
- listRulesPackagesResponse_rulesPackageArns :: Lens' ListRulesPackagesResponse [Text]
- listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag]
- previewAgents_maxResults :: Lens' PreviewAgents (Maybe Int)
- previewAgents_nextToken :: Lens' PreviewAgents (Maybe Text)
- previewAgents_previewAgentsArn :: Lens' PreviewAgents Text
- previewAgentsResponse_nextToken :: Lens' PreviewAgentsResponse (Maybe Text)
- previewAgentsResponse_httpStatus :: Lens' PreviewAgentsResponse Int
- previewAgentsResponse_agentPreviews :: Lens' PreviewAgentsResponse [AgentPreview]
- registerCrossAccountAccessRole_roleArn :: Lens' RegisterCrossAccountAccessRole Text
- removeAttributesFromFindings_findingArns :: Lens' RemoveAttributesFromFindings (NonEmpty Text)
- removeAttributesFromFindings_attributeKeys :: Lens' RemoveAttributesFromFindings [Text]
- removeAttributesFromFindingsResponse_httpStatus :: Lens' RemoveAttributesFromFindingsResponse Int
- removeAttributesFromFindingsResponse_failedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails)
- setTagsForResource_tags :: Lens' SetTagsForResource (Maybe [Tag])
- setTagsForResource_resourceArn :: Lens' SetTagsForResource Text
- startAssessmentRun_assessmentRunName :: Lens' StartAssessmentRun (Maybe Text)
- startAssessmentRun_assessmentTemplateArn :: Lens' StartAssessmentRun Text
- startAssessmentRunResponse_httpStatus :: Lens' StartAssessmentRunResponse Int
- startAssessmentRunResponse_assessmentRunArn :: Lens' StartAssessmentRunResponse Text
- stopAssessmentRun_stopAction :: Lens' StopAssessmentRun (Maybe StopAction)
- stopAssessmentRun_assessmentRunArn :: Lens' StopAssessmentRun Text
- subscribeToEvent_resourceArn :: Lens' SubscribeToEvent Text
- subscribeToEvent_event :: Lens' SubscribeToEvent InspectorEvent
- subscribeToEvent_topicArn :: Lens' SubscribeToEvent Text
- unsubscribeFromEvent_resourceArn :: Lens' UnsubscribeFromEvent Text
- unsubscribeFromEvent_event :: Lens' UnsubscribeFromEvent InspectorEvent
- unsubscribeFromEvent_topicArn :: Lens' UnsubscribeFromEvent Text
- updateAssessmentTarget_resourceGroupArn :: Lens' UpdateAssessmentTarget (Maybe Text)
- updateAssessmentTarget_assessmentTargetArn :: Lens' UpdateAssessmentTarget Text
- updateAssessmentTarget_assessmentTargetName :: Lens' UpdateAssessmentTarget Text
- agentFilter_agentHealths :: Lens' AgentFilter [AgentHealth]
- agentFilter_agentHealthCodes :: Lens' AgentFilter [AgentHealthCode]
- agentPreview_agentHealth :: Lens' AgentPreview (Maybe AgentHealth)
- agentPreview_agentVersion :: Lens' AgentPreview (Maybe Text)
- agentPreview_autoScalingGroup :: Lens' AgentPreview (Maybe Text)
- agentPreview_hostname :: Lens' AgentPreview (Maybe Text)
- agentPreview_ipv4Address :: Lens' AgentPreview (Maybe Text)
- agentPreview_kernelVersion :: Lens' AgentPreview (Maybe Text)
- agentPreview_operatingSystem :: Lens' AgentPreview (Maybe Text)
- agentPreview_agentId :: Lens' AgentPreview Text
- assessmentRun_completedAt :: Lens' AssessmentRun (Maybe UTCTime)
- assessmentRun_startedAt :: Lens' AssessmentRun (Maybe UTCTime)
- assessmentRun_arn :: Lens' AssessmentRun Text
- assessmentRun_name :: Lens' AssessmentRun Text
- assessmentRun_assessmentTemplateArn :: Lens' AssessmentRun Text
- assessmentRun_state :: Lens' AssessmentRun AssessmentRunState
- assessmentRun_durationInSeconds :: Lens' AssessmentRun Natural
- assessmentRun_rulesPackageArns :: Lens' AssessmentRun (NonEmpty Text)
- assessmentRun_userAttributesForFindings :: Lens' AssessmentRun [Attribute]
- assessmentRun_createdAt :: Lens' AssessmentRun UTCTime
- assessmentRun_stateChangedAt :: Lens' AssessmentRun UTCTime
- assessmentRun_dataCollected :: Lens' AssessmentRun Bool
- assessmentRun_stateChanges :: Lens' AssessmentRun [AssessmentRunStateChange]
- assessmentRun_notifications :: Lens' AssessmentRun [AssessmentRunNotification]
- assessmentRun_findingCounts :: Lens' AssessmentRun (HashMap Severity Int)
- assessmentRunAgent_agentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text)
- assessmentRunAgent_autoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text)
- assessmentRunAgent_agentId :: Lens' AssessmentRunAgent Text
- assessmentRunAgent_assessmentRunArn :: Lens' AssessmentRunAgent Text
- assessmentRunAgent_agentHealth :: Lens' AssessmentRunAgent AgentHealth
- assessmentRunAgent_agentHealthCode :: Lens' AssessmentRunAgent AgentHealthCode
- assessmentRunAgent_telemetryMetadata :: Lens' AssessmentRunAgent [TelemetryMetadata]
- assessmentRunFilter_completionTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- assessmentRunFilter_durationRange :: Lens' AssessmentRunFilter (Maybe DurationRange)
- assessmentRunFilter_namePattern :: Lens' AssessmentRunFilter (Maybe Text)
- assessmentRunFilter_rulesPackageArns :: Lens' AssessmentRunFilter (Maybe [Text])
- assessmentRunFilter_startTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- assessmentRunFilter_stateChangeTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- assessmentRunFilter_states :: Lens' AssessmentRunFilter (Maybe [AssessmentRunState])
- assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode)
- assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_date :: Lens' AssessmentRunNotification UTCTime
- assessmentRunNotification_event :: Lens' AssessmentRunNotification InspectorEvent
- assessmentRunNotification_error :: Lens' AssessmentRunNotification Bool
- assessmentRunStateChange_stateChangedAt :: Lens' AssessmentRunStateChange UTCTime
- assessmentRunStateChange_state :: Lens' AssessmentRunStateChange AssessmentRunState
- assessmentTarget_resourceGroupArn :: Lens' AssessmentTarget (Maybe Text)
- assessmentTarget_arn :: Lens' AssessmentTarget Text
- assessmentTarget_name :: Lens' AssessmentTarget Text
- assessmentTarget_createdAt :: Lens' AssessmentTarget UTCTime
- assessmentTarget_updatedAt :: Lens' AssessmentTarget UTCTime
- assessmentTargetFilter_assessmentTargetNamePattern :: Lens' AssessmentTargetFilter (Maybe Text)
- assessmentTemplate_lastAssessmentRunArn :: Lens' AssessmentTemplate (Maybe Text)
- assessmentTemplate_arn :: Lens' AssessmentTemplate Text
- assessmentTemplate_name :: Lens' AssessmentTemplate Text
- assessmentTemplate_assessmentTargetArn :: Lens' AssessmentTemplate Text
- assessmentTemplate_durationInSeconds :: Lens' AssessmentTemplate Natural
- assessmentTemplate_rulesPackageArns :: Lens' AssessmentTemplate [Text]
- assessmentTemplate_userAttributesForFindings :: Lens' AssessmentTemplate [Attribute]
- assessmentTemplate_assessmentRunCount :: Lens' AssessmentTemplate Int
- assessmentTemplate_createdAt :: Lens' AssessmentTemplate UTCTime
- assessmentTemplateFilter_durationRange :: Lens' AssessmentTemplateFilter (Maybe DurationRange)
- assessmentTemplateFilter_namePattern :: Lens' AssessmentTemplateFilter (Maybe Text)
- assessmentTemplateFilter_rulesPackageArns :: Lens' AssessmentTemplateFilter (Maybe [Text])
- assetAttributes_agentId :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_amiId :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_autoScalingGroup :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_hostname :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_ipv4Addresses :: Lens' AssetAttributes (Maybe [Text])
- assetAttributes_networkInterfaces :: Lens' AssetAttributes (Maybe [NetworkInterface])
- assetAttributes_tags :: Lens' AssetAttributes (Maybe [Tag])
- assetAttributes_schemaVersion :: Lens' AssetAttributes Natural
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_key :: Lens' Attribute Text
- durationRange_maxSeconds :: Lens' DurationRange (Maybe Natural)
- durationRange_minSeconds :: Lens' DurationRange (Maybe Natural)
- eventSubscription_event :: Lens' EventSubscription InspectorEvent
- eventSubscription_subscribedAt :: Lens' EventSubscription UTCTime
- exclusion_attributes :: Lens' Exclusion (Maybe [Attribute])
- exclusion_arn :: Lens' Exclusion Text
- exclusion_title :: Lens' Exclusion Text
- exclusion_description :: Lens' Exclusion Text
- exclusion_recommendation :: Lens' Exclusion Text
- exclusion_scopes :: Lens' Exclusion (NonEmpty Scope)
- exclusionPreview_attributes :: Lens' ExclusionPreview (Maybe [Attribute])
- exclusionPreview_title :: Lens' ExclusionPreview Text
- exclusionPreview_description :: Lens' ExclusionPreview Text
- exclusionPreview_recommendation :: Lens' ExclusionPreview Text
- exclusionPreview_scopes :: Lens' ExclusionPreview (NonEmpty Scope)
- failedItemDetails_failureCode :: Lens' FailedItemDetails FailedItemErrorCode
- failedItemDetails_retryable :: Lens' FailedItemDetails Bool
- finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes)
- finding_assetType :: Lens' Finding (Maybe AssetType)
- finding_confidence :: Lens' Finding (Maybe Natural)
- finding_description :: Lens' Finding (Maybe Text)
- finding_id :: Lens' Finding (Maybe Text)
- finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool)
- finding_numericSeverity :: Lens' Finding (Maybe Double)
- finding_recommendation :: Lens' Finding (Maybe Text)
- finding_schemaVersion :: Lens' Finding (Maybe Natural)
- finding_service :: Lens' Finding (Maybe Text)
- finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes)
- finding_severity :: Lens' Finding (Maybe Severity)
- finding_title :: Lens' Finding (Maybe Text)
- finding_arn :: Lens' Finding Text
- finding_attributes :: Lens' Finding [Attribute]
- finding_userAttributes :: Lens' Finding [Attribute]
- finding_createdAt :: Lens' Finding UTCTime
- finding_updatedAt :: Lens' Finding UTCTime
- findingFilter_agentIds :: Lens' FindingFilter (Maybe [Text])
- findingFilter_attributes :: Lens' FindingFilter (Maybe [Attribute])
- findingFilter_autoScalingGroups :: Lens' FindingFilter (Maybe [Text])
- findingFilter_creationTimeRange :: Lens' FindingFilter (Maybe TimestampRange)
- findingFilter_ruleNames :: Lens' FindingFilter (Maybe [Text])
- findingFilter_rulesPackageArns :: Lens' FindingFilter (Maybe [Text])
- findingFilter_severities :: Lens' FindingFilter (Maybe [Severity])
- findingFilter_userAttributes :: Lens' FindingFilter (Maybe [Attribute])
- inspectorServiceAttributes_assessmentRunArn :: Lens' InspectorServiceAttributes (Maybe Text)
- inspectorServiceAttributes_rulesPackageArn :: Lens' InspectorServiceAttributes (Maybe Text)
- inspectorServiceAttributes_schemaVersion :: Lens' InspectorServiceAttributes Natural
- networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text])
- networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIp])
- networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text)
- networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup])
- networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text)
- privateIp_privateDnsName :: Lens' PrivateIp (Maybe Text)
- privateIp_privateIpAddress :: Lens' PrivateIp (Maybe Text)
- resourceGroup_arn :: Lens' ResourceGroup Text
- resourceGroup_tags :: Lens' ResourceGroup (NonEmpty ResourceGroupTag)
- resourceGroup_createdAt :: Lens' ResourceGroup UTCTime
- resourceGroupTag_value :: Lens' ResourceGroupTag (Maybe Text)
- resourceGroupTag_key :: Lens' ResourceGroupTag Text
- rulesPackage_description :: Lens' RulesPackage (Maybe Text)
- rulesPackage_arn :: Lens' RulesPackage Text
- rulesPackage_name :: Lens' RulesPackage Text
- rulesPackage_version :: Lens' RulesPackage Text
- rulesPackage_provider :: Lens' RulesPackage Text
- scope_key :: Lens' Scope (Maybe ScopeType)
- scope_value :: Lens' Scope (Maybe Text)
- securityGroup_groupId :: Lens' SecurityGroup (Maybe Text)
- securityGroup_groupName :: Lens' SecurityGroup (Maybe Text)
- subscription_resourceArn :: Lens' Subscription Text
- subscription_topicArn :: Lens' Subscription Text
- subscription_eventSubscriptions :: Lens' Subscription (NonEmpty EventSubscription)
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag Text
- telemetryMetadata_dataSize :: Lens' TelemetryMetadata (Maybe Integer)
- telemetryMetadata_messageType :: Lens' TelemetryMetadata Text
- telemetryMetadata_count :: Lens' TelemetryMetadata Integer
- timestampRange_beginDate :: Lens' TimestampRange (Maybe UTCTime)
- timestampRange_endDate :: Lens' TimestampRange (Maybe UTCTime)
Operations
AddAttributesToFindings
addAttributesToFindings_findingArns :: Lens' AddAttributesToFindings (NonEmpty Text) Source #
The ARNs that specify the findings that you want to assign attributes to.
addAttributesToFindings_attributes :: Lens' AddAttributesToFindings [Attribute] Source #
The array of attributes that you want to assign to specified findings.
addAttributesToFindingsResponse_httpStatus :: Lens' AddAttributesToFindingsResponse Int Source #
The response's http status code.
addAttributesToFindingsResponse_failedItems :: Lens' AddAttributesToFindingsResponse (HashMap Text FailedItemDetails) Source #
Attribute details that cannot be described. An error code is provided for each failed item.
CreateAssessmentTarget
createAssessmentTarget_resourceGroupArn :: Lens' CreateAssessmentTarget (Maybe Text) Source #
The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
createAssessmentTarget_assessmentTargetName :: Lens' CreateAssessmentTarget Text Source #
The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
createAssessmentTargetResponse_httpStatus :: Lens' CreateAssessmentTargetResponse Int Source #
The response's http status code.
createAssessmentTargetResponse_assessmentTargetArn :: Lens' CreateAssessmentTargetResponse Text Source #
The ARN that specifies the assessment target that is created.
CreateAssessmentTemplate
createAssessmentTemplate_userAttributesForFindings :: Lens' CreateAssessmentTemplate (Maybe [Attribute]) Source #
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.
createAssessmentTemplate_assessmentTargetArn :: Lens' CreateAssessmentTemplate Text Source #
The ARN that specifies the assessment target for which you want to create the assessment template.
createAssessmentTemplate_assessmentTemplateName :: Lens' CreateAssessmentTemplate Text Source #
The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
createAssessmentTemplate_durationInSeconds :: Lens' CreateAssessmentTemplate Natural Source #
The duration of the assessment run in seconds.
createAssessmentTemplate_rulesPackageArns :: Lens' CreateAssessmentTemplate [Text] Source #
The ARNs that specify the rules packages that you want to attach to the assessment template.
createAssessmentTemplateResponse_httpStatus :: Lens' CreateAssessmentTemplateResponse Int Source #
The response's http status code.
createAssessmentTemplateResponse_assessmentTemplateArn :: Lens' CreateAssessmentTemplateResponse Text Source #
The ARN that specifies the assessment template that is created.
CreateExclusionsPreview
createExclusionsPreview_assessmentTemplateArn :: Lens' CreateExclusionsPreview Text Source #
The ARN that specifies the assessment template for which you want to create an exclusions preview.
createExclusionsPreviewResponse_httpStatus :: Lens' CreateExclusionsPreviewResponse Int Source #
The response's http status code.
createExclusionsPreviewResponse_previewToken :: Lens' CreateExclusionsPreviewResponse Text Source #
Specifies the unique identifier of the requested exclusions preview. You can use the unique identifier to retrieve the exclusions preview when running the GetExclusionsPreview API.
CreateResourceGroup
createResourceGroup_resourceGroupTags :: Lens' CreateResourceGroup (NonEmpty ResourceGroupTag) Source #
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
createResourceGroupResponse_httpStatus :: Lens' CreateResourceGroupResponse Int Source #
The response's http status code.
createResourceGroupResponse_resourceGroupArn :: Lens' CreateResourceGroupResponse Text Source #
The ARN that specifies the resource group that is created.
DeleteAssessmentRun
deleteAssessmentRun_assessmentRunArn :: Lens' DeleteAssessmentRun Text Source #
The ARN that specifies the assessment run that you want to delete.
DeleteAssessmentTarget
deleteAssessmentTarget_assessmentTargetArn :: Lens' DeleteAssessmentTarget Text Source #
The ARN that specifies the assessment target that you want to delete.
DeleteAssessmentTemplate
deleteAssessmentTemplate_assessmentTemplateArn :: Lens' DeleteAssessmentTemplate Text Source #
The ARN that specifies the assessment template that you want to delete.
DescribeAssessmentRuns
describeAssessmentRuns_assessmentRunArns :: Lens' DescribeAssessmentRuns (NonEmpty Text) Source #
The ARN that specifies the assessment run that you want to describe.
describeAssessmentRunsResponse_httpStatus :: Lens' DescribeAssessmentRunsResponse Int Source #
The response's http status code.
describeAssessmentRunsResponse_assessmentRuns :: Lens' DescribeAssessmentRunsResponse [AssessmentRun] Source #
Information about the assessment run.
describeAssessmentRunsResponse_failedItems :: Lens' DescribeAssessmentRunsResponse (HashMap Text FailedItemDetails) Source #
Assessment run details that cannot be described. An error code is provided for each failed item.
DescribeAssessmentTargets
describeAssessmentTargets_assessmentTargetArns :: Lens' DescribeAssessmentTargets (NonEmpty Text) Source #
The ARNs that specifies the assessment targets that you want to describe.
describeAssessmentTargetsResponse_httpStatus :: Lens' DescribeAssessmentTargetsResponse Int Source #
The response's http status code.
describeAssessmentTargetsResponse_assessmentTargets :: Lens' DescribeAssessmentTargetsResponse [AssessmentTarget] Source #
Information about the assessment targets.
describeAssessmentTargetsResponse_failedItems :: Lens' DescribeAssessmentTargetsResponse (HashMap Text FailedItemDetails) Source #
Assessment target details that cannot be described. An error code is provided for each failed item.
DescribeAssessmentTemplates
describeAssessmentTemplates_assessmentTemplateArns :: Lens' DescribeAssessmentTemplates (NonEmpty Text) Source #
Undocumented member.
describeAssessmentTemplatesResponse_httpStatus :: Lens' DescribeAssessmentTemplatesResponse Int Source #
The response's http status code.
describeAssessmentTemplatesResponse_assessmentTemplates :: Lens' DescribeAssessmentTemplatesResponse [AssessmentTemplate] Source #
Information about the assessment templates.
describeAssessmentTemplatesResponse_failedItems :: Lens' DescribeAssessmentTemplatesResponse (HashMap Text FailedItemDetails) Source #
Assessment template details that cannot be described. An error code is provided for each failed item.
DescribeCrossAccountAccessRole
describeCrossAccountAccessRoleResponse_httpStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int Source #
The response's http status code.
describeCrossAccountAccessRoleResponse_roleArn :: Lens' DescribeCrossAccountAccessRoleResponse Text Source #
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
describeCrossAccountAccessRoleResponse_valid :: Lens' DescribeCrossAccountAccessRoleResponse Bool Source #
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
describeCrossAccountAccessRoleResponse_registeredAt :: Lens' DescribeCrossAccountAccessRoleResponse UTCTime Source #
The date when the cross-account access role was registered.
DescribeExclusions
describeExclusions_locale :: Lens' DescribeExclusions (Maybe Locale) Source #
The locale into which you want to translate the exclusion's title, description, and recommendation.
describeExclusions_exclusionArns :: Lens' DescribeExclusions (NonEmpty Text) Source #
The list of ARNs that specify the exclusions that you want to describe.
describeExclusionsResponse_httpStatus :: Lens' DescribeExclusionsResponse Int Source #
The response's http status code.
describeExclusionsResponse_exclusions :: Lens' DescribeExclusionsResponse (HashMap Text Exclusion) Source #
Information about the exclusions.
describeExclusionsResponse_failedItems :: Lens' DescribeExclusionsResponse (HashMap Text FailedItemDetails) Source #
Exclusion details that cannot be described. An error code is provided for each failed item.
DescribeFindings
describeFindings_locale :: Lens' DescribeFindings (Maybe Locale) Source #
The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding.
describeFindings_findingArns :: Lens' DescribeFindings (NonEmpty Text) Source #
The ARN that specifies the finding that you want to describe.
describeFindingsResponse_httpStatus :: Lens' DescribeFindingsResponse Int Source #
The response's http status code.
describeFindingsResponse_findings :: Lens' DescribeFindingsResponse [Finding] Source #
Information about the finding.
describeFindingsResponse_failedItems :: Lens' DescribeFindingsResponse (HashMap Text FailedItemDetails) Source #
Finding details that cannot be described. An error code is provided for each failed item.
DescribeResourceGroups
describeResourceGroups_resourceGroupArns :: Lens' DescribeResourceGroups (NonEmpty Text) Source #
The ARN that specifies the resource group that you want to describe.
describeResourceGroupsResponse_httpStatus :: Lens' DescribeResourceGroupsResponse Int Source #
The response's http status code.
describeResourceGroupsResponse_resourceGroups :: Lens' DescribeResourceGroupsResponse [ResourceGroup] Source #
Information about a resource group.
describeResourceGroupsResponse_failedItems :: Lens' DescribeResourceGroupsResponse (HashMap Text FailedItemDetails) Source #
Resource group details that cannot be described. An error code is provided for each failed item.
DescribeRulesPackages
describeRulesPackages_locale :: Lens' DescribeRulesPackages (Maybe Locale) Source #
The locale that you want to translate a rules package description into.
describeRulesPackages_rulesPackageArns :: Lens' DescribeRulesPackages (NonEmpty Text) Source #
The ARN that specifies the rules package that you want to describe.
describeRulesPackagesResponse_httpStatus :: Lens' DescribeRulesPackagesResponse Int Source #
The response's http status code.
describeRulesPackagesResponse_rulesPackages :: Lens' DescribeRulesPackagesResponse [RulesPackage] Source #
Information about the rules package.
describeRulesPackagesResponse_failedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails) Source #
Rules package details that cannot be described. An error code is provided for each failed item.
GetAssessmentReport
getAssessmentReport_assessmentRunArn :: Lens' GetAssessmentReport Text Source #
The ARN that specifies the assessment run for which you want to generate a report.
getAssessmentReport_reportFileFormat :: Lens' GetAssessmentReport ReportFileFormat Source #
Specifies the file format (html or pdf) of the assessment report that you want to generate.
getAssessmentReport_reportType :: Lens' GetAssessmentReport ReportType Source #
Specifies the type of the assessment report that you want to generate. There are two types of assessment reports: a finding report and a full report. For more information, see Assessment Reports.
getAssessmentReportResponse_url :: Lens' GetAssessmentReportResponse (Maybe Text) Source #
Specifies the URL where you can find the generated assessment report. This parameter is only returned if the report is successfully generated.
getAssessmentReportResponse_httpStatus :: Lens' GetAssessmentReportResponse Int Source #
The response's http status code.
getAssessmentReportResponse_status :: Lens' GetAssessmentReportResponse ReportStatus Source #
Specifies the status of the request to generate an assessment report.
GetExclusionsPreview
getExclusionsPreview_locale :: Lens' GetExclusionsPreview (Maybe Locale) Source #
The locale into which you want to translate the exclusion's title, description, and recommendation.
getExclusionsPreview_maxResults :: Lens' GetExclusionsPreview (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500.
getExclusionsPreview_nextToken :: Lens' GetExclusionsPreview (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the GetExclusionsPreviewRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
getExclusionsPreview_assessmentTemplateArn :: Lens' GetExclusionsPreview Text Source #
The ARN that specifies the assessment template for which the exclusions preview was requested.
getExclusionsPreview_previewToken :: Lens' GetExclusionsPreview Text Source #
The unique identifier associated of the exclusions preview.
getExclusionsPreviewResponse_exclusionPreviews :: Lens' GetExclusionsPreviewResponse (Maybe [ExclusionPreview]) Source #
Information about the exclusions included in the preview.
getExclusionsPreviewResponse_nextToken :: Lens' GetExclusionsPreviewResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
getExclusionsPreviewResponse_httpStatus :: Lens' GetExclusionsPreviewResponse Int Source #
The response's http status code.
getExclusionsPreviewResponse_previewStatus :: Lens' GetExclusionsPreviewResponse PreviewStatus Source #
Specifies the status of the request to generate an exclusions preview.
GetTelemetryMetadata
getTelemetryMetadata_assessmentRunArn :: Lens' GetTelemetryMetadata Text Source #
The ARN that specifies the assessment run that has the telemetry data that you want to obtain.
getTelemetryMetadataResponse_httpStatus :: Lens' GetTelemetryMetadataResponse Int Source #
The response's http status code.
getTelemetryMetadataResponse_telemetryMetadata :: Lens' GetTelemetryMetadataResponse [TelemetryMetadata] Source #
Telemetry details.
ListAssessmentRunAgents
listAssessmentRunAgents_filter :: Lens' ListAssessmentRunAgents (Maybe AgentFilter) Source #
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.
listAssessmentRunAgents_maxResults :: Lens' ListAssessmentRunAgents (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500.
listAssessmentRunAgents_nextToken :: Lens' ListAssessmentRunAgents (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listAssessmentRunAgents_assessmentRunArn :: Lens' ListAssessmentRunAgents Text Source #
The ARN that specifies the assessment run whose agents you want to list.
listAssessmentRunAgentsResponse_nextToken :: Lens' ListAssessmentRunAgentsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listAssessmentRunAgentsResponse_httpStatus :: Lens' ListAssessmentRunAgentsResponse Int Source #
The response's http status code.
listAssessmentRunAgentsResponse_assessmentRunAgents :: Lens' ListAssessmentRunAgentsResponse [AssessmentRunAgent] Source #
A list of ARNs that specifies the agents returned by the action.
ListAssessmentRuns
listAssessmentRuns_assessmentTemplateArns :: Lens' ListAssessmentRuns (Maybe [Text]) Source #
The ARNs that specify the assessment templates whose assessment runs you want to list.
listAssessmentRuns_filter :: Lens' ListAssessmentRuns (Maybe AssessmentRunFilter) Source #
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.
listAssessmentRuns_maxResults :: Lens' ListAssessmentRuns (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500.
listAssessmentRuns_nextToken :: Lens' ListAssessmentRuns (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRuns action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listAssessmentRunsResponse_nextToken :: Lens' ListAssessmentRunsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listAssessmentRunsResponse_httpStatus :: Lens' ListAssessmentRunsResponse Int Source #
The response's http status code.
listAssessmentRunsResponse_assessmentRunArns :: Lens' ListAssessmentRunsResponse [Text] Source #
A list of ARNs that specifies the assessment runs that are returned by the action.
ListAssessmentTargets
listAssessmentTargets_filter :: Lens' ListAssessmentTargets (Maybe AssessmentTargetFilter) Source #
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.
listAssessmentTargets_maxResults :: Lens' ListAssessmentTargets (Maybe Int) Source #
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.
listAssessmentTargets_nextToken :: Lens' ListAssessmentTargets (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTargets action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listAssessmentTargetsResponse_nextToken :: Lens' ListAssessmentTargetsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listAssessmentTargetsResponse_httpStatus :: Lens' ListAssessmentTargetsResponse Int Source #
The response's http status code.
listAssessmentTargetsResponse_assessmentTargetArns :: Lens' ListAssessmentTargetsResponse [Text] Source #
A list of ARNs that specifies the assessment targets that are returned by the action.
ListAssessmentTemplates
listAssessmentTemplates_assessmentTargetArns :: Lens' ListAssessmentTemplates (Maybe [Text]) Source #
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
listAssessmentTemplates_filter :: Lens' ListAssessmentTemplates (Maybe AssessmentTemplateFilter) Source #
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.
listAssessmentTemplates_maxResults :: Lens' ListAssessmentTemplates (Maybe Int) Source #
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.
listAssessmentTemplates_nextToken :: Lens' ListAssessmentTemplates (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listAssessmentTemplatesResponse_nextToken :: Lens' ListAssessmentTemplatesResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listAssessmentTemplatesResponse_httpStatus :: Lens' ListAssessmentTemplatesResponse Int Source #
The response's http status code.
listAssessmentTemplatesResponse_assessmentTemplateArns :: Lens' ListAssessmentTemplatesResponse [Text] Source #
A list of ARNs that specifies the assessment templates returned by the action.
ListEventSubscriptions
listEventSubscriptions_maxResults :: Lens' ListEventSubscriptions (Maybe Int) Source #
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.
listEventSubscriptions_nextToken :: Lens' ListEventSubscriptions (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listEventSubscriptions_resourceArn :: Lens' ListEventSubscriptions (Maybe Text) Source #
The ARN of the assessment template for which you want to list the existing event subscriptions.
listEventSubscriptionsResponse_nextToken :: Lens' ListEventSubscriptionsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listEventSubscriptionsResponse_httpStatus :: Lens' ListEventSubscriptionsResponse Int Source #
The response's http status code.
listEventSubscriptionsResponse_subscriptions :: Lens' ListEventSubscriptionsResponse [Subscription] Source #
Details of the returned event subscriptions.
ListExclusions
listExclusions_maxResults :: Lens' ListExclusions (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500.
listExclusions_nextToken :: Lens' ListExclusions (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListExclusionsRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
listExclusions_assessmentRunArn :: Lens' ListExclusions Text Source #
The ARN of the assessment run that generated the exclusions that you want to list.
listExclusionsResponse_nextToken :: Lens' ListExclusionsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listExclusionsResponse_httpStatus :: Lens' ListExclusionsResponse Int Source #
The response's http status code.
listExclusionsResponse_exclusionArns :: Lens' ListExclusionsResponse [Text] Source #
A list of exclusions' ARNs returned by the action.
ListFindings
listFindings_assessmentRunArns :: Lens' ListFindings (Maybe [Text]) Source #
The ARNs of the assessment runs that generate the findings that you want to list.
listFindings_filter :: Lens' ListFindings (Maybe FindingFilter) Source #
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.
listFindings_maxResults :: Lens' ListFindings (Maybe Int) Source #
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.
listFindings_nextToken :: Lens' ListFindings (Maybe Text) Source #
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.
listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listFindingsResponse_httpStatus :: Lens' ListFindingsResponse Int Source #
The response's http status code.
listFindingsResponse_findingArns :: Lens' ListFindingsResponse [Text] Source #
A list of ARNs that specifies the findings returned by the action.
ListRulesPackages
listRulesPackages_maxResults :: Lens' ListRulesPackages (Maybe Int) Source #
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.
listRulesPackages_nextToken :: Lens' ListRulesPackages (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
listRulesPackagesResponse_nextToken :: Lens' ListRulesPackagesResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listRulesPackagesResponse_httpStatus :: Lens' ListRulesPackagesResponse Int Source #
The response's http status code.
listRulesPackagesResponse_rulesPackageArns :: Lens' ListRulesPackagesResponse [Text] Source #
The list of ARNs that specifies the rules packages returned by the action.
ListTagsForResource
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #
The ARN that specifies the assessment template whose tags you want to list.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag] Source #
A collection of key and value pairs.
PreviewAgents
previewAgents_maxResults :: Lens' PreviewAgents (Maybe Int) Source #
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.
previewAgents_nextToken :: Lens' PreviewAgents (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
previewAgents_previewAgentsArn :: Lens' PreviewAgents Text Source #
The ARN of the assessment target whose agents you want to preview.
previewAgentsResponse_nextToken :: Lens' PreviewAgentsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
previewAgentsResponse_httpStatus :: Lens' PreviewAgentsResponse Int Source #
The response's http status code.
previewAgentsResponse_agentPreviews :: Lens' PreviewAgentsResponse [AgentPreview] Source #
The resulting list of agents.
RegisterCrossAccountAccessRole
registerCrossAccountAccessRole_roleArn :: Lens' RegisterCrossAccountAccessRole Text Source #
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.
RemoveAttributesFromFindings
removeAttributesFromFindings_findingArns :: Lens' RemoveAttributesFromFindings (NonEmpty Text) Source #
The ARNs that specify the findings that you want to remove attributes from.
removeAttributesFromFindings_attributeKeys :: Lens' RemoveAttributesFromFindings [Text] Source #
The array of attribute keys that you want to remove from specified findings.
removeAttributesFromFindingsResponse_httpStatus :: Lens' RemoveAttributesFromFindingsResponse Int Source #
The response's http status code.
removeAttributesFromFindingsResponse_failedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails) Source #
Attributes details that cannot be described. An error code is provided for each failed item.
SetTagsForResource
setTagsForResource_tags :: Lens' SetTagsForResource (Maybe [Tag]) Source #
A collection of key and value pairs that you want to set to the assessment template.
setTagsForResource_resourceArn :: Lens' SetTagsForResource Text Source #
The ARN of the assessment template that you want to set tags to.
StartAssessmentRun
startAssessmentRun_assessmentRunName :: Lens' StartAssessmentRun (Maybe Text) Source #
You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run.
startAssessmentRun_assessmentTemplateArn :: Lens' StartAssessmentRun Text Source #
The ARN of the assessment template of the assessment run that you want to start.
startAssessmentRunResponse_httpStatus :: Lens' StartAssessmentRunResponse Int Source #
The response's http status code.
startAssessmentRunResponse_assessmentRunArn :: Lens' StartAssessmentRunResponse Text Source #
The ARN of the assessment run that has been started.
StopAssessmentRun
stopAssessmentRun_stopAction :: Lens' StopAssessmentRun (Maybe StopAction) Source #
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
stopAssessmentRun_assessmentRunArn :: Lens' StopAssessmentRun Text Source #
The ARN of the assessment run that you want to stop.
SubscribeToEvent
subscribeToEvent_resourceArn :: Lens' SubscribeToEvent Text Source #
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
subscribeToEvent_event :: Lens' SubscribeToEvent InspectorEvent Source #
The event for which you want to receive SNS notifications.
subscribeToEvent_topicArn :: Lens' SubscribeToEvent Text Source #
The ARN of the SNS topic to which the SNS notifications are sent.
UnsubscribeFromEvent
unsubscribeFromEvent_resourceArn :: Lens' UnsubscribeFromEvent Text Source #
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
unsubscribeFromEvent_event :: Lens' UnsubscribeFromEvent InspectorEvent Source #
The event for which you want to stop receiving SNS notifications.
unsubscribeFromEvent_topicArn :: Lens' UnsubscribeFromEvent Text Source #
The ARN of the SNS topic to which SNS notifications are sent.
UpdateAssessmentTarget
updateAssessmentTarget_resourceGroupArn :: Lens' UpdateAssessmentTarget (Maybe Text) Source #
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
updateAssessmentTarget_assessmentTargetArn :: Lens' UpdateAssessmentTarget Text Source #
The ARN of the assessment target that you want to update.
updateAssessmentTarget_assessmentTargetName :: Lens' UpdateAssessmentTarget Text Source #
The name of the assessment target that you want to update.
Types
AgentFilter
agentFilter_agentHealths :: Lens' AgentFilter [AgentHealth] Source #
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
agentFilter_agentHealthCodes :: Lens' AgentFilter [AgentHealthCode] Source #
The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
AgentPreview
agentPreview_agentHealth :: Lens' AgentPreview (Maybe AgentHealth) Source #
The health status of the Amazon Inspector Agent.
agentPreview_agentVersion :: Lens' AgentPreview (Maybe Text) Source #
The version of the Amazon Inspector Agent.
agentPreview_autoScalingGroup :: Lens' AgentPreview (Maybe Text) Source #
The Auto Scaling group for the EC2 instance where the agent is installed.
agentPreview_hostname :: Lens' AgentPreview (Maybe Text) Source #
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
agentPreview_ipv4Address :: Lens' AgentPreview (Maybe Text) Source #
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
agentPreview_kernelVersion :: Lens' AgentPreview (Maybe Text) Source #
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
agentPreview_operatingSystem :: Lens' AgentPreview (Maybe Text) Source #
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
agentPreview_agentId :: Lens' AgentPreview Text Source #
The ID of the EC2 instance where the agent is installed.
AssessmentRun
assessmentRun_completedAt :: Lens' AssessmentRun (Maybe UTCTime) Source #
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
assessmentRun_startedAt :: Lens' AssessmentRun (Maybe UTCTime) Source #
The time when StartAssessmentRun was called.
assessmentRun_arn :: Lens' AssessmentRun Text Source #
The ARN of the assessment run.
assessmentRun_name :: Lens' AssessmentRun Text Source #
The auto-generated name for the assessment run.
assessmentRun_assessmentTemplateArn :: Lens' AssessmentRun Text Source #
The ARN of the assessment template that is associated with the assessment run.
assessmentRun_state :: Lens' AssessmentRun AssessmentRunState Source #
The state of the assessment run.
assessmentRun_durationInSeconds :: Lens' AssessmentRun Natural Source #
The duration of the assessment run.
assessmentRun_rulesPackageArns :: Lens' AssessmentRun (NonEmpty Text) Source #
The rules packages selected for the assessment run.
assessmentRun_userAttributesForFindings :: Lens' AssessmentRun [Attribute] Source #
The user-defined attributes that are assigned to every generated finding.
assessmentRun_createdAt :: Lens' AssessmentRun UTCTime Source #
The time when StartAssessmentRun was called.
assessmentRun_stateChangedAt :: Lens' AssessmentRun UTCTime Source #
The last time when the assessment run's state changed.
assessmentRun_dataCollected :: Lens' AssessmentRun Bool Source #
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
assessmentRun_stateChanges :: Lens' AssessmentRun [AssessmentRunStateChange] Source #
A list of the assessment run state changes.
assessmentRun_notifications :: Lens' AssessmentRun [AssessmentRunNotification] Source #
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
assessmentRun_findingCounts :: Lens' AssessmentRun (HashMap Severity Int) Source #
Provides a total count of generated findings per severity.
AssessmentRunAgent
assessmentRunAgent_agentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text) Source #
The description for the agent health code.
assessmentRunAgent_autoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text) Source #
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
assessmentRunAgent_agentId :: Lens' AssessmentRunAgent Text Source #
The AWS account of the EC2 instance where the agent is installed.
assessmentRunAgent_assessmentRunArn :: Lens' AssessmentRunAgent Text Source #
The ARN of the assessment run that is associated with the agent.
assessmentRunAgent_agentHealth :: Lens' AssessmentRunAgent AgentHealth Source #
The current health state of the agent.
assessmentRunAgent_agentHealthCode :: Lens' AssessmentRunAgent AgentHealthCode Source #
The detailed health state of the agent.
assessmentRunAgent_telemetryMetadata :: Lens' AssessmentRunAgent [TelemetryMetadata] Source #
The Amazon Inspector application data metrics that are collected by the agent.
AssessmentRunFilter
assessmentRunFilter_completionTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) Source #
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.
assessmentRunFilter_durationRange :: Lens' AssessmentRunFilter (Maybe DurationRange) Source #
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.
assessmentRunFilter_namePattern :: Lens' AssessmentRunFilter (Maybe Text) Source #
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.
assessmentRunFilter_rulesPackageArns :: Lens' AssessmentRunFilter (Maybe [Text]) Source #
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.
assessmentRunFilter_startTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) Source #
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.
assessmentRunFilter_stateChangeTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) Source #
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.
assessmentRunFilter_states :: Lens' AssessmentRunFilter (Maybe [AssessmentRunState]) Source #
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.
AssessmentRunNotification
assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text) Source #
The message included in the notification.
assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode) Source #
The status code of the SNS notification.
assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text) Source #
The SNS topic to which the SNS notification is sent.
assessmentRunNotification_date :: Lens' AssessmentRunNotification UTCTime Source #
The date of the notification.
assessmentRunNotification_event :: Lens' AssessmentRunNotification InspectorEvent Source #
The event for which a notification is sent.
assessmentRunNotification_error :: Lens' AssessmentRunNotification Bool Source #
The Boolean value that specifies whether the notification represents an error.
AssessmentRunStateChange
assessmentRunStateChange_stateChangedAt :: Lens' AssessmentRunStateChange UTCTime Source #
The last time the assessment run state changed.
assessmentRunStateChange_state :: Lens' AssessmentRunStateChange AssessmentRunState Source #
The assessment run state.
AssessmentTarget
assessmentTarget_resourceGroupArn :: Lens' AssessmentTarget (Maybe Text) Source #
The ARN that specifies the resource group that is associated with the assessment target.
assessmentTarget_arn :: Lens' AssessmentTarget Text Source #
The ARN that specifies the Amazon Inspector assessment target.
assessmentTarget_name :: Lens' AssessmentTarget Text Source #
The name of the Amazon Inspector assessment target.
assessmentTarget_createdAt :: Lens' AssessmentTarget UTCTime Source #
The time at which the assessment target is created.
assessmentTarget_updatedAt :: Lens' AssessmentTarget UTCTime Source #
The time at which UpdateAssessmentTarget is called.
AssessmentTargetFilter
assessmentTargetFilter_assessmentTargetNamePattern :: Lens' AssessmentTargetFilter (Maybe Text) Source #
For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.
AssessmentTemplate
assessmentTemplate_lastAssessmentRunArn :: Lens' AssessmentTemplate (Maybe Text) Source #
The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero.
assessmentTemplate_arn :: Lens' AssessmentTemplate Text Source #
The ARN of the assessment template.
assessmentTemplate_name :: Lens' AssessmentTemplate Text Source #
The name of the assessment template.
assessmentTemplate_assessmentTargetArn :: Lens' AssessmentTemplate Text Source #
The ARN of the assessment target that corresponds to this assessment template.
assessmentTemplate_durationInSeconds :: Lens' AssessmentTemplate Natural Source #
The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
assessmentTemplate_rulesPackageArns :: Lens' AssessmentTemplate [Text] Source #
The rules packages that are specified for this assessment template.
assessmentTemplate_userAttributesForFindings :: Lens' AssessmentTemplate [Attribute] Source #
The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template.
assessmentTemplate_assessmentRunCount :: Lens' AssessmentTemplate Int Source #
The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer.
assessmentTemplate_createdAt :: Lens' AssessmentTemplate UTCTime Source #
The time at which the assessment template is created.
AssessmentTemplateFilter
assessmentTemplateFilter_durationRange :: Lens' AssessmentTemplateFilter (Maybe DurationRange) Source #
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.
assessmentTemplateFilter_namePattern :: Lens' AssessmentTemplateFilter (Maybe Text) Source #
For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.
assessmentTemplateFilter_rulesPackageArns :: Lens' AssessmentTemplateFilter (Maybe [Text]) Source #
For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.
AssetAttributes
assetAttributes_agentId :: Lens' AssetAttributes (Maybe Text) Source #
The ID of the agent that is installed on the EC2 instance where the finding is generated.
assetAttributes_amiId :: Lens' AssetAttributes (Maybe Text) Source #
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
assetAttributes_autoScalingGroup :: Lens' AssetAttributes (Maybe Text) Source #
The Auto Scaling group of the EC2 instance where the finding is generated.
assetAttributes_hostname :: Lens' AssetAttributes (Maybe Text) Source #
The hostname of the EC2 instance where the finding is generated.
assetAttributes_ipv4Addresses :: Lens' AssetAttributes (Maybe [Text]) Source #
The list of IP v4 addresses of the EC2 instance where the finding is generated.
assetAttributes_networkInterfaces :: Lens' AssetAttributes (Maybe [NetworkInterface]) Source #
An array of the network interfaces interacting with the EC2 instance where the finding is generated.
assetAttributes_tags :: Lens' AssetAttributes (Maybe [Tag]) Source #
The tags related to the EC2 instance where the finding is generated.
assetAttributes_schemaVersion :: Lens' AssetAttributes Natural Source #
The schema version of this data type.
Attribute
DurationRange
durationRange_maxSeconds :: Lens' DurationRange (Maybe Natural) Source #
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
durationRange_minSeconds :: Lens' DurationRange (Maybe Natural) Source #
The minimum value of the duration range. Must be greater than zero.
EventSubscription
eventSubscription_event :: Lens' EventSubscription InspectorEvent Source #
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
eventSubscription_subscribedAt :: Lens' EventSubscription UTCTime Source #
The time at which SubscribeToEvent is called.
Exclusion
exclusion_attributes :: Lens' Exclusion (Maybe [Attribute]) Source #
The system-defined attributes for the exclusion.
exclusion_scopes :: Lens' Exclusion (NonEmpty Scope) Source #
The AWS resources for which the exclusion pertains.
ExclusionPreview
exclusionPreview_attributes :: Lens' ExclusionPreview (Maybe [Attribute]) Source #
The system-defined attributes for the exclusion preview.
exclusionPreview_title :: Lens' ExclusionPreview Text Source #
The name of the exclusion preview.
exclusionPreview_description :: Lens' ExclusionPreview Text Source #
The description of the exclusion preview.
exclusionPreview_recommendation :: Lens' ExclusionPreview Text Source #
The recommendation for the exclusion preview.
exclusionPreview_scopes :: Lens' ExclusionPreview (NonEmpty Scope) Source #
The AWS resources for which the exclusion preview pertains.
FailedItemDetails
failedItemDetails_failureCode :: Lens' FailedItemDetails FailedItemErrorCode Source #
The status code of a failed item.
failedItemDetails_retryable :: Lens' FailedItemDetails Bool Source #
Indicates whether you can immediately retry a request for this item for a specified resource.
Finding
finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes) Source #
A collection of attributes of the host from which the finding is generated.
finding_assetType :: Lens' Finding (Maybe AssetType) Source #
The type of the host from which the finding is generated.
finding_confidence :: Lens' Finding (Maybe Natural) Source #
This data element is currently not used.
finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool) Source #
This data element is currently not used.
finding_numericSeverity :: Lens' Finding (Maybe Double) Source #
The numeric value of the finding severity.
finding_schemaVersion :: Lens' Finding (Maybe Natural) Source #
The schema version of this data type.
finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes) Source #
This data type is used in the Finding data type.
finding_severity :: Lens' Finding (Maybe Severity) Source #
The finding severity. Values can be set to High, Medium, Low, and Informational.
finding_attributes :: Lens' Finding [Attribute] Source #
The system-defined attributes for the finding.
finding_userAttributes :: Lens' Finding [Attribute] Source #
The user-defined attributes that are assigned to the finding.
FindingFilter
findingFilter_agentIds :: Lens' FindingFilter (Maybe [Text]) Source #
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
findingFilter_attributes :: Lens' FindingFilter (Maybe [Attribute]) Source #
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
findingFilter_autoScalingGroups :: Lens' FindingFilter (Maybe [Text]) Source #
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
findingFilter_creationTimeRange :: Lens' FindingFilter (Maybe TimestampRange) Source #
The time range during which the finding is generated.
findingFilter_ruleNames :: Lens' FindingFilter (Maybe [Text]) Source #
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
findingFilter_rulesPackageArns :: Lens' FindingFilter (Maybe [Text]) Source #
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
findingFilter_severities :: Lens' FindingFilter (Maybe [Severity]) Source #
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
findingFilter_userAttributes :: Lens' FindingFilter (Maybe [Attribute]) Source #
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 userAttributes property of the Finding data type.
InspectorServiceAttributes
inspectorServiceAttributes_assessmentRunArn :: Lens' InspectorServiceAttributes (Maybe Text) Source #
The ARN of the assessment run during which the finding is generated.
inspectorServiceAttributes_rulesPackageArn :: Lens' InspectorServiceAttributes (Maybe Text) Source #
The ARN of the rules package that is used to generate the finding.
inspectorServiceAttributes_schemaVersion :: Lens' InspectorServiceAttributes Natural Source #
The schema version of this data type.
NetworkInterface
networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text]) Source #
The IP addresses associated with the network interface.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of the network interface.
networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text) Source #
The name of a private DNS associated with the network interface.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) Source #
The private IP address associated with the network interface.
networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIp]) Source #
A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.
networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text) Source #
The name of a public DNS associated with the network interface.
networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text) Source #
The public IP address from which the network interface is reachable.
networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup]) Source #
A list of the security groups associated with the network interface. Includes the groupId and groupName.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of a subnet associated with the network interface.
networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of a VPC associated with the network interface.
PrivateIp
privateIp_privateDnsName :: Lens' PrivateIp (Maybe Text) Source #
The DNS name of the private IP address.
privateIp_privateIpAddress :: Lens' PrivateIp (Maybe Text) Source #
The full IP address of the network inteface.
ResourceGroup
resourceGroup_arn :: Lens' ResourceGroup Text Source #
The ARN of the resource group.
resourceGroup_tags :: Lens' ResourceGroup (NonEmpty ResourceGroupTag) Source #
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
resourceGroup_createdAt :: Lens' ResourceGroup UTCTime Source #
The time at which resource group is created.
ResourceGroupTag
resourceGroupTag_value :: Lens' ResourceGroupTag (Maybe Text) Source #
The value assigned to a tag key.
resourceGroupTag_key :: Lens' ResourceGroupTag Text Source #
A tag key.
RulesPackage
rulesPackage_description :: Lens' RulesPackage (Maybe Text) Source #
The description of the rules package.
rulesPackage_arn :: Lens' RulesPackage Text Source #
The ARN of the rules package.
rulesPackage_name :: Lens' RulesPackage Text Source #
The name of the rules package.
rulesPackage_version :: Lens' RulesPackage Text Source #
The version ID of the rules package.
rulesPackage_provider :: Lens' RulesPackage Text Source #
The provider of the rules package.
Scope
scope_value :: Lens' Scope (Maybe Text) Source #
The resource identifier for the specified scope type.
SecurityGroup
securityGroup_groupId :: Lens' SecurityGroup (Maybe Text) Source #
The ID of the security group.
securityGroup_groupName :: Lens' SecurityGroup (Maybe Text) Source #
The name of the security group.
Subscription
subscription_resourceArn :: Lens' Subscription Text Source #
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
subscription_topicArn :: Lens' Subscription Text Source #
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
subscription_eventSubscriptions :: Lens' Subscription (NonEmpty EventSubscription) Source #
The list of existing event subscriptions.
Tag
TelemetryMetadata
telemetryMetadata_dataSize :: Lens' TelemetryMetadata (Maybe Integer) Source #
The data size of messages that the agent sends to the Amazon Inspector service.
telemetryMetadata_messageType :: Lens' TelemetryMetadata Text Source #
A specific type of behavioral data that is collected by the agent.
telemetryMetadata_count :: Lens' TelemetryMetadata Integer Source #
The count of messages that the agent sends to the Amazon Inspector service.
TimestampRange
timestampRange_beginDate :: Lens' TimestampRange (Maybe UTCTime) Source #
The minimum value of the timestamp range.
timestampRange_endDate :: Lens' TimestampRange (Maybe UTCTime) Source #
The maximum value of the timestamp range.