Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- AgentHealth
- AgentHealthCode
- AssessmentRunNotificationSnsStatusCode
- AssessmentRunState
- AssetType
- FailedItemErrorCode
- InspectorEvent
- Locale
- PreviewStatus
- ReportFileFormat
- ReportStatus
- ReportType
- ScopeType
- Severity
- StopAction
- 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
- defaultService :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _AssessmentRunInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedFeatureException :: AsError a => Getting (First ServiceError) a ServiceError
- _PreviewGenerationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _AgentsAlreadyRunningAssessmentException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCrossAccountRoleException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceTemporarilyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype AgentHealth where
- AgentHealth' { }
- pattern AgentHealth_HEALTHY :: AgentHealth
- pattern AgentHealth_UNHEALTHY :: AgentHealth
- pattern AgentHealth_UNKNOWN :: AgentHealth
- newtype AgentHealthCode where
- AgentHealthCode' { }
- pattern AgentHealthCode_IDLE :: AgentHealthCode
- pattern AgentHealthCode_RUNNING :: AgentHealthCode
- pattern AgentHealthCode_SHUTDOWN :: AgentHealthCode
- pattern AgentHealthCode_THROTTLED :: AgentHealthCode
- pattern AgentHealthCode_UNHEALTHY :: AgentHealthCode
- pattern AgentHealthCode_UNKNOWN :: AgentHealthCode
- newtype AssessmentRunNotificationSnsStatusCode where
- AssessmentRunNotificationSnsStatusCode' { }
- pattern AssessmentRunNotificationSnsStatusCode_ACCESS_DENIED :: AssessmentRunNotificationSnsStatusCode
- pattern AssessmentRunNotificationSnsStatusCode_INTERNAL_ERROR :: AssessmentRunNotificationSnsStatusCode
- pattern AssessmentRunNotificationSnsStatusCode_SUCCESS :: AssessmentRunNotificationSnsStatusCode
- pattern AssessmentRunNotificationSnsStatusCode_TOPIC_DOES_NOT_EXIST :: AssessmentRunNotificationSnsStatusCode
- newtype AssessmentRunState where
- AssessmentRunState' { }
- pattern AssessmentRunState_CANCELED :: AssessmentRunState
- pattern AssessmentRunState_COLLECTING_DATA :: AssessmentRunState
- pattern AssessmentRunState_COMPLETED :: AssessmentRunState
- pattern AssessmentRunState_COMPLETED_WITH_ERRORS :: AssessmentRunState
- pattern AssessmentRunState_CREATED :: AssessmentRunState
- pattern AssessmentRunState_DATA_COLLECTED :: AssessmentRunState
- pattern AssessmentRunState_ERROR :: AssessmentRunState
- pattern AssessmentRunState_EVALUATING_RULES :: AssessmentRunState
- pattern AssessmentRunState_FAILED :: AssessmentRunState
- pattern AssessmentRunState_START_DATA_COLLECTION_IN_PROGRESS :: AssessmentRunState
- pattern AssessmentRunState_START_DATA_COLLECTION_PENDING :: AssessmentRunState
- pattern AssessmentRunState_START_EVALUATING_RULES_PENDING :: AssessmentRunState
- pattern AssessmentRunState_STOP_DATA_COLLECTION_PENDING :: AssessmentRunState
- newtype AssetType where
- AssetType' { }
- pattern AssetType_Ec2_instance :: AssetType
- newtype FailedItemErrorCode where
- FailedItemErrorCode' { }
- pattern FailedItemErrorCode_ACCESS_DENIED :: FailedItemErrorCode
- pattern FailedItemErrorCode_DUPLICATE_ARN :: FailedItemErrorCode
- pattern FailedItemErrorCode_INTERNAL_ERROR :: FailedItemErrorCode
- pattern FailedItemErrorCode_INVALID_ARN :: FailedItemErrorCode
- pattern FailedItemErrorCode_ITEM_DOES_NOT_EXIST :: FailedItemErrorCode
- pattern FailedItemErrorCode_LIMIT_EXCEEDED :: FailedItemErrorCode
- newtype InspectorEvent where
- InspectorEvent' { }
- pattern InspectorEvent_ASSESSMENT_RUN_COMPLETED :: InspectorEvent
- pattern InspectorEvent_ASSESSMENT_RUN_STARTED :: InspectorEvent
- pattern InspectorEvent_ASSESSMENT_RUN_STATE_CHANGED :: InspectorEvent
- pattern InspectorEvent_FINDING_REPORTED :: InspectorEvent
- pattern InspectorEvent_OTHER :: InspectorEvent
- newtype Locale where
- Locale' {
- fromLocale :: Text
- pattern Locale_EN_US :: Locale
- Locale' {
- newtype PreviewStatus where
- PreviewStatus' { }
- pattern PreviewStatus_COMPLETED :: PreviewStatus
- pattern PreviewStatus_WORK_IN_PROGRESS :: PreviewStatus
- newtype ReportFileFormat where
- ReportFileFormat' { }
- pattern ReportFileFormat_HTML :: ReportFileFormat
- pattern ReportFileFormat_PDF :: ReportFileFormat
- newtype ReportStatus where
- ReportStatus' { }
- pattern ReportStatus_COMPLETED :: ReportStatus
- pattern ReportStatus_FAILED :: ReportStatus
- pattern ReportStatus_WORK_IN_PROGRESS :: ReportStatus
- newtype ReportType where
- ReportType' { }
- pattern ReportType_FINDING :: ReportType
- pattern ReportType_FULL :: ReportType
- newtype ScopeType where
- ScopeType' { }
- pattern ScopeType_INSTANCE_ID :: ScopeType
- pattern ScopeType_RULES_PACKAGE_ARN :: ScopeType
- newtype Severity where
- Severity' {
- fromSeverity :: Text
- pattern Severity_High :: Severity
- pattern Severity_Informational :: Severity
- pattern Severity_Low :: Severity
- pattern Severity_Medium :: Severity
- pattern Severity_Undefined :: Severity
- Severity' {
- newtype StopAction where
- StopAction' { }
- pattern StopAction_SKIP_EVALUATION :: StopAction
- pattern StopAction_START_EVALUATION :: StopAction
- data AgentFilter = AgentFilter' {}
- newAgentFilter :: AgentFilter
- agentFilter_agentHealths :: Lens' AgentFilter [AgentHealth]
- agentFilter_agentHealthCodes :: Lens' AgentFilter [AgentHealthCode]
- data AgentPreview = AgentPreview' {}
- newAgentPreview :: Text -> AgentPreview
- agentPreview_hostname :: Lens' AgentPreview (Maybe Text)
- agentPreview_autoScalingGroup :: Lens' AgentPreview (Maybe Text)
- agentPreview_operatingSystem :: Lens' AgentPreview (Maybe Text)
- agentPreview_agentVersion :: Lens' AgentPreview (Maybe Text)
- agentPreview_kernelVersion :: Lens' AgentPreview (Maybe Text)
- agentPreview_agentHealth :: Lens' AgentPreview (Maybe AgentHealth)
- agentPreview_ipv4Address :: Lens' AgentPreview (Maybe Text)
- agentPreview_agentId :: Lens' AgentPreview Text
- data AssessmentRun = AssessmentRun' {
- startedAt :: Maybe POSIX
- completedAt :: Maybe POSIX
- arn :: Text
- name :: Text
- assessmentTemplateArn :: Text
- state :: AssessmentRunState
- durationInSeconds :: Natural
- rulesPackageArns :: NonEmpty Text
- userAttributesForFindings :: [Attribute]
- createdAt :: POSIX
- stateChangedAt :: POSIX
- dataCollected :: Bool
- stateChanges :: [AssessmentRunStateChange]
- notifications :: [AssessmentRunNotification]
- findingCounts :: HashMap Severity Int
- newAssessmentRun :: Text -> Text -> Text -> AssessmentRunState -> Natural -> NonEmpty Text -> UTCTime -> UTCTime -> Bool -> AssessmentRun
- assessmentRun_startedAt :: Lens' AssessmentRun (Maybe UTCTime)
- assessmentRun_completedAt :: 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)
- data AssessmentRunAgent = AssessmentRunAgent' {}
- newAssessmentRunAgent :: Text -> Text -> AgentHealth -> AgentHealthCode -> AssessmentRunAgent
- assessmentRunAgent_autoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text)
- assessmentRunAgent_agentHealthDetails :: 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]
- data AssessmentRunFilter = AssessmentRunFilter' {}
- newAssessmentRunFilter :: AssessmentRunFilter
- assessmentRunFilter_states :: Lens' AssessmentRunFilter (Maybe [AssessmentRunState])
- assessmentRunFilter_namePattern :: Lens' AssessmentRunFilter (Maybe Text)
- assessmentRunFilter_startTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- assessmentRunFilter_stateChangeTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- assessmentRunFilter_rulesPackageArns :: Lens' AssessmentRunFilter (Maybe [Text])
- assessmentRunFilter_completionTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- assessmentRunFilter_durationRange :: Lens' AssessmentRunFilter (Maybe DurationRange)
- data AssessmentRunNotification = AssessmentRunNotification' {}
- newAssessmentRunNotification :: UTCTime -> InspectorEvent -> Bool -> AssessmentRunNotification
- assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode)
- assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text)
- assessmentRunNotification_date :: Lens' AssessmentRunNotification UTCTime
- assessmentRunNotification_event :: Lens' AssessmentRunNotification InspectorEvent
- assessmentRunNotification_error :: Lens' AssessmentRunNotification Bool
- data AssessmentRunStateChange = AssessmentRunStateChange' {}
- newAssessmentRunStateChange :: UTCTime -> AssessmentRunState -> AssessmentRunStateChange
- assessmentRunStateChange_stateChangedAt :: Lens' AssessmentRunStateChange UTCTime
- assessmentRunStateChange_state :: Lens' AssessmentRunStateChange AssessmentRunState
- data AssessmentTarget = AssessmentTarget' {}
- newAssessmentTarget :: Text -> Text -> UTCTime -> UTCTime -> AssessmentTarget
- 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
- data AssessmentTargetFilter = AssessmentTargetFilter' {}
- newAssessmentTargetFilter :: AssessmentTargetFilter
- assessmentTargetFilter_assessmentTargetNamePattern :: Lens' AssessmentTargetFilter (Maybe Text)
- data AssessmentTemplate = AssessmentTemplate' {}
- newAssessmentTemplate :: Text -> Text -> Text -> Natural -> Int -> UTCTime -> AssessmentTemplate
- 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
- data AssessmentTemplateFilter = AssessmentTemplateFilter' {}
- newAssessmentTemplateFilter :: AssessmentTemplateFilter
- assessmentTemplateFilter_namePattern :: Lens' AssessmentTemplateFilter (Maybe Text)
- assessmentTemplateFilter_rulesPackageArns :: Lens' AssessmentTemplateFilter (Maybe [Text])
- assessmentTemplateFilter_durationRange :: Lens' AssessmentTemplateFilter (Maybe DurationRange)
- data AssetAttributes = AssetAttributes' {
- hostname :: Maybe Text
- autoScalingGroup :: Maybe Text
- networkInterfaces :: Maybe [NetworkInterface]
- ipv4Addresses :: Maybe [Text]
- agentId :: Maybe Text
- amiId :: Maybe Text
- tags :: Maybe [Tag]
- schemaVersion :: Natural
- newAssetAttributes :: Natural -> AssetAttributes
- assetAttributes_hostname :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_autoScalingGroup :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_networkInterfaces :: Lens' AssetAttributes (Maybe [NetworkInterface])
- assetAttributes_ipv4Addresses :: Lens' AssetAttributes (Maybe [Text])
- assetAttributes_agentId :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_amiId :: Lens' AssetAttributes (Maybe Text)
- assetAttributes_tags :: Lens' AssetAttributes (Maybe [Tag])
- assetAttributes_schemaVersion :: Lens' AssetAttributes Natural
- data Attribute = Attribute' {}
- newAttribute :: Text -> Attribute
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_key :: Lens' Attribute Text
- data DurationRange = DurationRange' {}
- newDurationRange :: DurationRange
- durationRange_minSeconds :: Lens' DurationRange (Maybe Natural)
- durationRange_maxSeconds :: Lens' DurationRange (Maybe Natural)
- data EventSubscription = EventSubscription' {}
- newEventSubscription :: InspectorEvent -> UTCTime -> EventSubscription
- eventSubscription_event :: Lens' EventSubscription InspectorEvent
- eventSubscription_subscribedAt :: Lens' EventSubscription UTCTime
- data Exclusion = Exclusion' {
- attributes :: Maybe [Attribute]
- arn :: Text
- title :: Text
- description :: Text
- recommendation :: Text
- scopes :: NonEmpty Scope
- newExclusion :: Text -> Text -> Text -> Text -> NonEmpty Scope -> Exclusion
- 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)
- data ExclusionPreview = ExclusionPreview' {
- attributes :: Maybe [Attribute]
- title :: Text
- description :: Text
- recommendation :: Text
- scopes :: NonEmpty Scope
- newExclusionPreview :: Text -> Text -> Text -> NonEmpty Scope -> ExclusionPreview
- 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)
- data FailedItemDetails = FailedItemDetails' {}
- newFailedItemDetails :: FailedItemErrorCode -> Bool -> FailedItemDetails
- failedItemDetails_failureCode :: Lens' FailedItemDetails FailedItemErrorCode
- failedItemDetails_retryable :: Lens' FailedItemDetails Bool
- data Finding = Finding' {
- service :: Maybe Text
- severity :: Maybe Severity
- schemaVersion :: Maybe Natural
- confidence :: Maybe Natural
- assetAttributes :: Maybe AssetAttributes
- serviceAttributes :: Maybe InspectorServiceAttributes
- id :: Maybe Text
- numericSeverity :: Maybe Double
- assetType :: Maybe AssetType
- title :: Maybe Text
- indicatorOfCompromise :: Maybe Bool
- description :: Maybe Text
- recommendation :: Maybe Text
- arn :: Text
- attributes :: [Attribute]
- userAttributes :: [Attribute]
- createdAt :: POSIX
- updatedAt :: POSIX
- newFinding :: Text -> UTCTime -> UTCTime -> Finding
- finding_service :: Lens' Finding (Maybe Text)
- finding_severity :: Lens' Finding (Maybe Severity)
- finding_schemaVersion :: Lens' Finding (Maybe Natural)
- finding_confidence :: Lens' Finding (Maybe Natural)
- finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes)
- finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes)
- finding_id :: Lens' Finding (Maybe Text)
- finding_numericSeverity :: Lens' Finding (Maybe Double)
- finding_assetType :: Lens' Finding (Maybe AssetType)
- finding_title :: Lens' Finding (Maybe Text)
- finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool)
- finding_description :: Lens' Finding (Maybe Text)
- finding_recommendation :: 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
- data FindingFilter = FindingFilter' {
- agentIds :: Maybe [Text]
- ruleNames :: Maybe [Text]
- userAttributes :: Maybe [Attribute]
- rulesPackageArns :: Maybe [Text]
- attributes :: Maybe [Attribute]
- severities :: Maybe [Severity]
- creationTimeRange :: Maybe TimestampRange
- autoScalingGroups :: Maybe [Text]
- newFindingFilter :: FindingFilter
- findingFilter_agentIds :: Lens' FindingFilter (Maybe [Text])
- findingFilter_ruleNames :: Lens' FindingFilter (Maybe [Text])
- findingFilter_userAttributes :: Lens' FindingFilter (Maybe [Attribute])
- findingFilter_rulesPackageArns :: Lens' FindingFilter (Maybe [Text])
- findingFilter_attributes :: Lens' FindingFilter (Maybe [Attribute])
- findingFilter_severities :: Lens' FindingFilter (Maybe [Severity])
- findingFilter_creationTimeRange :: Lens' FindingFilter (Maybe TimestampRange)
- findingFilter_autoScalingGroups :: Lens' FindingFilter (Maybe [Text])
- data InspectorServiceAttributes = InspectorServiceAttributes' {}
- newInspectorServiceAttributes :: Natural -> InspectorServiceAttributes
- inspectorServiceAttributes_rulesPackageArn :: Lens' InspectorServiceAttributes (Maybe Text)
- inspectorServiceAttributes_assessmentRunArn :: Lens' InspectorServiceAttributes (Maybe Text)
- inspectorServiceAttributes_schemaVersion :: Lens' InspectorServiceAttributes Natural
- data NetworkInterface = NetworkInterface' {}
- newNetworkInterface :: NetworkInterface
- networkInterface_privateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIp])
- networkInterface_publicDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup])
- networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
- networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text)
- networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text)
- networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text])
- data PrivateIp = PrivateIp' {}
- newPrivateIp :: PrivateIp
- privateIp_privateIpAddress :: Lens' PrivateIp (Maybe Text)
- privateIp_privateDnsName :: Lens' PrivateIp (Maybe Text)
- data ResourceGroup = ResourceGroup' {}
- newResourceGroup :: Text -> NonEmpty ResourceGroupTag -> UTCTime -> ResourceGroup
- resourceGroup_arn :: Lens' ResourceGroup Text
- resourceGroup_tags :: Lens' ResourceGroup (NonEmpty ResourceGroupTag)
- resourceGroup_createdAt :: Lens' ResourceGroup UTCTime
- data ResourceGroupTag = ResourceGroupTag' {}
- newResourceGroupTag :: Text -> ResourceGroupTag
- resourceGroupTag_value :: Lens' ResourceGroupTag (Maybe Text)
- resourceGroupTag_key :: Lens' ResourceGroupTag Text
- data RulesPackage = RulesPackage' {}
- newRulesPackage :: Text -> Text -> Text -> Text -> RulesPackage
- 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
- data Scope = Scope' {}
- newScope :: Scope
- scope_value :: Lens' Scope (Maybe Text)
- scope_key :: Lens' Scope (Maybe ScopeType)
- data SecurityGroup = SecurityGroup' {}
- newSecurityGroup :: SecurityGroup
- securityGroup_groupId :: Lens' SecurityGroup (Maybe Text)
- securityGroup_groupName :: Lens' SecurityGroup (Maybe Text)
- data Subscription = Subscription' {}
- newSubscription :: Text -> Text -> NonEmpty EventSubscription -> Subscription
- subscription_resourceArn :: Lens' Subscription Text
- subscription_topicArn :: Lens' Subscription Text
- subscription_eventSubscriptions :: Lens' Subscription (NonEmpty EventSubscription)
- data Tag = Tag' {}
- newTag :: Text -> Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag Text
- data TelemetryMetadata = TelemetryMetadata' {}
- newTelemetryMetadata :: Text -> Integer -> TelemetryMetadata
- telemetryMetadata_dataSize :: Lens' TelemetryMetadata (Maybe Integer)
- telemetryMetadata_messageType :: Lens' TelemetryMetadata Text
- telemetryMetadata_count :: Lens' TelemetryMetadata Integer
- data TimestampRange = TimestampRange' {}
- newTimestampRange :: TimestampRange
- timestampRange_endDate :: Lens' TimestampRange (Maybe UTCTime)
- timestampRange_beginDate :: Lens' TimestampRange (Maybe UTCTime)
Service Configuration
defaultService :: Service Source #
API version 2016-02-16
of the Amazon Inspector SDK configuration.
Errors
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have required permissions to access the requested resource.
_AssessmentRunInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You cannot perform a specified action if an assessment run is currently in progress.
_NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was rejected because it referenced an entity that does not exist. The error code describes the entity.
_UnsupportedFeatureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Used by the GetAssessmentReport API. The request was rejected because you tried to generate a report for an assessment run that existed before reporting was supported in Amazon Inspector. You can only generate reports for assessment runs that took place or will take place after generating reports in Amazon Inspector became available.
_PreviewGenerationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is rejected. The specified assessment template is currently generating an exclusions preview.
_AgentsAlreadyRunningAssessmentException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You started an assessment run, but one of the instances is already participating in another assessment run.
_InvalidCrossAccountRoleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
_InternalException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Internal server error.
_ServiceTemporarilyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The serice is temporary unavailable.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.
AgentHealth
newtype AgentHealth Source #
pattern AgentHealth_HEALTHY :: AgentHealth | |
pattern AgentHealth_UNHEALTHY :: AgentHealth | |
pattern AgentHealth_UNKNOWN :: AgentHealth |
Instances
AgentHealthCode
newtype AgentHealthCode Source #
pattern AgentHealthCode_IDLE :: AgentHealthCode | |
pattern AgentHealthCode_RUNNING :: AgentHealthCode | |
pattern AgentHealthCode_SHUTDOWN :: AgentHealthCode | |
pattern AgentHealthCode_THROTTLED :: AgentHealthCode | |
pattern AgentHealthCode_UNHEALTHY :: AgentHealthCode | |
pattern AgentHealthCode_UNKNOWN :: AgentHealthCode |
Instances
AssessmentRunNotificationSnsStatusCode
newtype AssessmentRunNotificationSnsStatusCode Source #
Instances
AssessmentRunState
newtype AssessmentRunState Source #
Instances
AssetType
pattern AssetType_Ec2_instance :: AssetType |
Instances
FailedItemErrorCode
newtype FailedItemErrorCode Source #
Instances
InspectorEvent
newtype InspectorEvent Source #
pattern InspectorEvent_ASSESSMENT_RUN_COMPLETED :: InspectorEvent | |
pattern InspectorEvent_ASSESSMENT_RUN_STARTED :: InspectorEvent | |
pattern InspectorEvent_ASSESSMENT_RUN_STATE_CHANGED :: InspectorEvent | |
pattern InspectorEvent_FINDING_REPORTED :: InspectorEvent | |
pattern InspectorEvent_OTHER :: InspectorEvent |
Instances
Locale
pattern Locale_EN_US :: Locale |
Instances
PreviewStatus
newtype PreviewStatus Source #
pattern PreviewStatus_COMPLETED :: PreviewStatus | |
pattern PreviewStatus_WORK_IN_PROGRESS :: PreviewStatus |
Instances
ReportFileFormat
newtype ReportFileFormat Source #
pattern ReportFileFormat_HTML :: ReportFileFormat | |
pattern ReportFileFormat_PDF :: ReportFileFormat |
Instances
ReportStatus
newtype ReportStatus Source #
pattern ReportStatus_COMPLETED :: ReportStatus | |
pattern ReportStatus_FAILED :: ReportStatus | |
pattern ReportStatus_WORK_IN_PROGRESS :: ReportStatus |
Instances
ReportType
newtype ReportType Source #
pattern ReportType_FINDING :: ReportType | |
pattern ReportType_FULL :: ReportType |
Instances
ScopeType
pattern ScopeType_INSTANCE_ID :: ScopeType | |
pattern ScopeType_RULES_PACKAGE_ARN :: ScopeType |
Instances
Severity
pattern Severity_High :: Severity | |
pattern Severity_Informational :: Severity | |
pattern Severity_Low :: Severity | |
pattern Severity_Medium :: Severity | |
pattern Severity_Undefined :: Severity |
Instances
StopAction
newtype StopAction Source #
pattern StopAction_SKIP_EVALUATION :: StopAction | |
pattern StopAction_START_EVALUATION :: StopAction |
Instances
AgentFilter
data AgentFilter Source #
Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action.
See: newAgentFilter
smart constructor.
AgentFilter' | |
|
Instances
newAgentFilter :: AgentFilter Source #
Create a value of AgentFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentHealths:AgentFilter'
, agentFilter_agentHealths
- The current health state of the agent. Values can be set to HEALTHY
or UNHEALTHY.
$sel:agentHealthCodes:AgentFilter'
, agentFilter_agentHealthCodes
- The detailed health state of the agent. Values can be set to IDLE,
RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and
UNKNOWN.
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
data AgentPreview Source #
Used as a response element in the PreviewAgents action.
See: newAgentPreview
smart constructor.
AgentPreview' | |
|
Instances
Create a value of AgentPreview
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hostname:AgentPreview'
, agentPreview_hostname
- The hostname of the EC2 instance on which the Amazon Inspector Agent is
installed.
$sel:autoScalingGroup:AgentPreview'
, agentPreview_autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is
installed.
$sel:operatingSystem:AgentPreview'
, agentPreview_operatingSystem
- The operating system running on the EC2 instance on which the Amazon
Inspector Agent is installed.
$sel:agentVersion:AgentPreview'
, agentPreview_agentVersion
- The version of the Amazon Inspector Agent.
$sel:kernelVersion:AgentPreview'
, agentPreview_kernelVersion
- The kernel version of the operating system running on the EC2 instance
on which the Amazon Inspector Agent is installed.
$sel:agentHealth:AgentPreview'
, agentPreview_agentHealth
- The health status of the Amazon Inspector Agent.
$sel:ipv4Address:AgentPreview'
, agentPreview_ipv4Address
- The IP address of the EC2 instance on which the Amazon Inspector Agent
is installed.
$sel:agentId:AgentPreview'
, agentPreview_agentId
- The ID of 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_autoScalingGroup :: Lens' AgentPreview (Maybe Text) Source #
The Auto Scaling group for the EC2 instance where the 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_agentVersion :: Lens' AgentPreview (Maybe Text) Source #
The version of the Amazon Inspector Agent.
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_agentHealth :: Lens' AgentPreview (Maybe AgentHealth) Source #
The health status of the Amazon Inspector Agent.
agentPreview_ipv4Address :: Lens' AgentPreview (Maybe Text) Source #
The IP address of 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
data AssessmentRun Source #
A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run .
Used as the response element in the DescribeAssessmentRuns action.
See: newAssessmentRun
smart constructor.
AssessmentRun' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> AssessmentRunState | |
-> Natural | |
-> NonEmpty Text | |
-> UTCTime | |
-> UTCTime | |
-> Bool | |
-> AssessmentRun |
Create a value of AssessmentRun
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:startedAt:AssessmentRun'
, assessmentRun_startedAt
- The time when StartAssessmentRun was called.
$sel:completedAt:AssessmentRun'
, assessmentRun_completedAt
- The assessment run completion time that corresponds to the rules
packages evaluation completion time or failure.
$sel:arn:AssessmentRun'
, assessmentRun_arn
- The ARN of the assessment run.
$sel:name:AssessmentRun'
, assessmentRun_name
- The auto-generated name for the assessment run.
$sel:assessmentTemplateArn:AssessmentRun'
, assessmentRun_assessmentTemplateArn
- The ARN of the assessment template that is associated with the
assessment run.
$sel:state:AssessmentRun'
, assessmentRun_state
- The state of the assessment run.
$sel:durationInSeconds:AssessmentRun'
, assessmentRun_durationInSeconds
- The duration of the assessment run.
$sel:rulesPackageArns:AssessmentRun'
, assessmentRun_rulesPackageArns
- The rules packages selected for the assessment run.
$sel:userAttributesForFindings:AssessmentRun'
, assessmentRun_userAttributesForFindings
- The user-defined attributes that are assigned to every generated
finding.
$sel:createdAt:AssessmentRun'
, assessmentRun_createdAt
- The time when StartAssessmentRun was called.
$sel:stateChangedAt:AssessmentRun'
, assessmentRun_stateChangedAt
- The last time when the assessment run's state changed.
$sel:dataCollected:AssessmentRun'
, assessmentRun_dataCollected
- A Boolean value (true or false) that specifies whether the process of
collecting data from the agents is completed.
$sel:stateChanges:AssessmentRun'
, assessmentRun_stateChanges
- A list of the assessment run state changes.
$sel:notifications:AssessmentRun'
, assessmentRun_notifications
- A list of notifications for the event subscriptions. A notification
about a particular generated finding is added to this list only once.
$sel:findingCounts:AssessmentRun'
, assessmentRun_findingCounts
- Provides a total count of generated findings per severity.
assessmentRun_startedAt :: Lens' AssessmentRun (Maybe UTCTime) Source #
The time when StartAssessmentRun was called.
assessmentRun_completedAt :: Lens' AssessmentRun (Maybe UTCTime) Source #
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
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
data AssessmentRunAgent Source #
Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action.
See: newAssessmentRunAgent
smart constructor.
AssessmentRunAgent' | |
|
Instances
newAssessmentRunAgent Source #
:: Text | |
-> Text | |
-> AgentHealth | |
-> AgentHealthCode | |
-> AssessmentRunAgent |
Create a value of AssessmentRunAgent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroup:AssessmentRunAgent'
, assessmentRunAgent_autoScalingGroup
- The Auto Scaling group of the EC2 instance that is specified by the
agent ID.
$sel:agentHealthDetails:AssessmentRunAgent'
, assessmentRunAgent_agentHealthDetails
- The description for the agent health code.
$sel:agentId:AssessmentRunAgent'
, assessmentRunAgent_agentId
- The AWS account of the EC2 instance where the agent is installed.
$sel:assessmentRunArn:AssessmentRunAgent'
, assessmentRunAgent_assessmentRunArn
- The ARN of the assessment run that is associated with the agent.
$sel:agentHealth:AssessmentRunAgent'
, assessmentRunAgent_agentHealth
- The current health state of the agent.
$sel:agentHealthCode:AssessmentRunAgent'
, assessmentRunAgent_agentHealthCode
- The detailed health state of the agent.
$sel:telemetryMetadata:AssessmentRunAgent'
, assessmentRunAgent_telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the
agent.
assessmentRunAgent_autoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text) Source #
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
assessmentRunAgent_agentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text) Source #
The description for the agent health code.
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
data AssessmentRunFilter Source #
Used as the request parameter in the ListAssessmentRuns action.
See: newAssessmentRunFilter
smart constructor.
AssessmentRunFilter' | |
|
Instances
newAssessmentRunFilter :: AssessmentRunFilter Source #
Create a value of AssessmentRunFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:states:AssessmentRunFilter'
, assessmentRunFilter_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.
$sel:namePattern:AssessmentRunFilter'
, assessmentRunFilter_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.
$sel:startTimeRange:AssessmentRunFilter'
, assessmentRunFilter_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.
$sel:stateChangeTimeRange:AssessmentRunFilter'
, assessmentRunFilter_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.
$sel:rulesPackageArns:AssessmentRunFilter'
, assessmentRunFilter_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.
$sel:completionTimeRange:AssessmentRunFilter'
, assessmentRunFilter_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.
$sel:durationRange:AssessmentRunFilter'
, assessmentRunFilter_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.
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.
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_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_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_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.
AssessmentRunNotification
data AssessmentRunNotification Source #
Used as one of the elements of the AssessmentRun data type.
See: newAssessmentRunNotification
smart constructor.
AssessmentRunNotification' | |
|
Instances
newAssessmentRunNotification Source #
Create a value of AssessmentRunNotification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:snsTopicArn:AssessmentRunNotification'
, assessmentRunNotification_snsTopicArn
- The SNS topic to which the SNS notification is sent.
$sel:snsPublishStatusCode:AssessmentRunNotification'
, assessmentRunNotification_snsPublishStatusCode
- The status code of the SNS notification.
$sel:message:AssessmentRunNotification'
, assessmentRunNotification_message
- The message included in the notification.
$sel:date:AssessmentRunNotification'
, assessmentRunNotification_date
- The date of the notification.
$sel:event:AssessmentRunNotification'
, assessmentRunNotification_event
- The event for which a notification is sent.
$sel:error:AssessmentRunNotification'
, assessmentRunNotification_error
- The Boolean value that specifies whether the notification represents an
error.
assessmentRunNotification_snsTopicArn :: Lens' AssessmentRunNotification (Maybe Text) Source #
The SNS topic to which the SNS notification is sent.
assessmentRunNotification_snsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSnsStatusCode) Source #
The status code of the SNS notification.
assessmentRunNotification_message :: Lens' AssessmentRunNotification (Maybe Text) Source #
The message included in the notification.
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
data AssessmentRunStateChange Source #
Used as one of the elements of the AssessmentRun data type.
See: newAssessmentRunStateChange
smart constructor.
AssessmentRunStateChange' | |
|
Instances
newAssessmentRunStateChange Source #
Create a value of AssessmentRunStateChange
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stateChangedAt:AssessmentRunStateChange'
, assessmentRunStateChange_stateChangedAt
- The last time the assessment run state changed.
$sel:state:AssessmentRunStateChange'
, assessmentRunStateChange_state
- The assessment run state.
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
data AssessmentTarget Source #
Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.
See: newAssessmentTarget
smart constructor.
AssessmentTarget' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> AssessmentTarget |
Create a value of AssessmentTarget
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceGroupArn:AssessmentTarget'
, assessmentTarget_resourceGroupArn
- The ARN that specifies the resource group that is associated with the
assessment target.
$sel:arn:AssessmentTarget'
, assessmentTarget_arn
- The ARN that specifies the Amazon Inspector assessment target.
$sel:name:AssessmentTarget'
, assessmentTarget_name
- The name of the Amazon Inspector assessment target.
$sel:createdAt:AssessmentTarget'
, assessmentTarget_createdAt
- The time at which the assessment target is created.
$sel:updatedAt:AssessmentTarget'
, assessmentTarget_updatedAt
- The time at which UpdateAssessmentTarget is called.
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
data AssessmentTargetFilter Source #
Used as the request parameter in the ListAssessmentTargets action.
See: newAssessmentTargetFilter
smart constructor.
AssessmentTargetFilter' | |
|
Instances
newAssessmentTargetFilter :: AssessmentTargetFilter Source #
Create a value of AssessmentTargetFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assessmentTargetNamePattern:AssessmentTargetFilter'
, assessmentTargetFilter_assessmentTargetNamePattern
- 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.
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
data AssessmentTemplate Source #
Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action.
See: newAssessmentTemplate
smart constructor.
AssessmentTemplate' | |
|
Instances
newAssessmentTemplate Source #
Create a value of AssessmentTemplate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastAssessmentRunArn:AssessmentTemplate'
, assessmentTemplate_lastAssessmentRunArn
- 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.
$sel:arn:AssessmentTemplate'
, assessmentTemplate_arn
- The ARN of the assessment template.
$sel:name:AssessmentTemplate'
, assessmentTemplate_name
- The name of the assessment template.
$sel:assessmentTargetArn:AssessmentTemplate'
, assessmentTemplate_assessmentTargetArn
- The ARN of the assessment target that corresponds to this assessment
template.
$sel:durationInSeconds:AssessmentTemplate'
, assessmentTemplate_durationInSeconds
- 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).
$sel:rulesPackageArns:AssessmentTemplate'
, assessmentTemplate_rulesPackageArns
- The rules packages that are specified for this assessment template.
$sel:userAttributesForFindings:AssessmentTemplate'
, assessmentTemplate_userAttributesForFindings
- The user-defined attributes that are assigned to every generated finding
from the assessment run that uses this assessment template.
$sel:assessmentRunCount:AssessmentTemplate'
, assessmentTemplate_assessmentRunCount
- The number of existing assessment runs associated with this assessment
template. This value can be zero or a positive integer.
$sel:createdAt:AssessmentTemplate'
, assessmentTemplate_createdAt
- The time at which the assessment template is created.
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
data AssessmentTemplateFilter Source #
Used as the request parameter in the ListAssessmentTemplates action.
See: newAssessmentTemplateFilter
smart constructor.
AssessmentTemplateFilter' | |
|
Instances
newAssessmentTemplateFilter :: AssessmentTemplateFilter Source #
Create a value of AssessmentTemplateFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:namePattern:AssessmentTemplateFilter'
, assessmentTemplateFilter_namePattern
- 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.
$sel:rulesPackageArns:AssessmentTemplateFilter'
, assessmentTemplateFilter_rulesPackageArns
- 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.
$sel:durationRange:AssessmentTemplateFilter'
, assessmentTemplateFilter_durationRange
- 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.
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.
AssetAttributes
data AssetAttributes Source #
A collection of attributes of the host from which the finding is generated.
See: newAssetAttributes
smart constructor.
AssetAttributes' | |
|
Instances
Create a value of AssetAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hostname:AssetAttributes'
, assetAttributes_hostname
- The hostname of the EC2 instance where the finding is generated.
$sel:autoScalingGroup:AssetAttributes'
, assetAttributes_autoScalingGroup
- The Auto Scaling group of the EC2 instance where the finding is
generated.
$sel:networkInterfaces:AssetAttributes'
, assetAttributes_networkInterfaces
- An array of the network interfaces interacting with the EC2 instance
where the finding is generated.
$sel:ipv4Addresses:AssetAttributes'
, assetAttributes_ipv4Addresses
- The list of IP v4 addresses of the EC2 instance where the finding is
generated.
$sel:agentId:AssetAttributes'
, assetAttributes_agentId
- The ID of the agent that is installed on the EC2 instance where the
finding is generated.
$sel:amiId:AssetAttributes'
, assetAttributes_amiId
- The ID of the Amazon Machine Image (AMI) that is installed on the EC2
instance where the finding is generated.
$sel:tags:AssetAttributes'
, assetAttributes_tags
- The tags related to the EC2 instance where the finding is generated.
$sel:schemaVersion:AssetAttributes'
, assetAttributes_schemaVersion
- The schema version of this data type.
assetAttributes_hostname :: Lens' AssetAttributes (Maybe Text) Source #
The hostname of 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_networkInterfaces :: Lens' AssetAttributes (Maybe [NetworkInterface]) Source #
An array of the network interfaces interacting with 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_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_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
This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.
See: newAttribute
smart constructor.
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute | |
ToJSON Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.Inspector.Types.Attribute" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Attribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Attribute'
, attribute_value
- The value assigned to the attribute key.
$sel:key:Attribute'
, attribute_key
- The attribute key.
DurationRange
data DurationRange Source #
This data type is used in the AssessmentTemplateFilter data type.
See: newDurationRange
smart constructor.
DurationRange' | |
|
Instances
newDurationRange :: DurationRange Source #
Create a value of DurationRange
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:minSeconds:DurationRange'
, durationRange_minSeconds
- The minimum value of the duration range. Must be greater than zero.
$sel:maxSeconds:DurationRange'
, durationRange_maxSeconds
- 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.
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).
EventSubscription
data EventSubscription Source #
This data type is used in the Subscription data type.
See: newEventSubscription
smart constructor.
EventSubscription' | |
|
Instances
Create a value of EventSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:event:EventSubscription'
, eventSubscription_event
- The event for which Amazon Simple Notification Service (SNS)
notifications are sent.
$sel:subscribedAt:EventSubscription'
, eventSubscription_subscribedAt
- The time at which SubscribeToEvent is called.
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
Contains information about what was excluded from an assessment run.
See: newExclusion
smart constructor.
Exclusion' | |
|
Instances
Create a value of Exclusion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:Exclusion'
, exclusion_attributes
- The system-defined attributes for the exclusion.
$sel:arn:Exclusion'
, exclusion_arn
- The ARN that specifies the exclusion.
$sel:title:Exclusion'
, exclusion_title
- The name of the exclusion.
$sel:description:Exclusion'
, exclusion_description
- The description of the exclusion.
$sel:recommendation:Exclusion'
, exclusion_recommendation
- The recommendation for the exclusion.
$sel:scopes:Exclusion'
, exclusion_scopes
- The AWS resources for which the exclusion pertains.
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
data ExclusionPreview Source #
Contains information about what is excluded from an assessment run given the current state of the assessment template.
See: newExclusionPreview
smart constructor.
ExclusionPreview' | |
|
Instances
Create a value of ExclusionPreview
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:ExclusionPreview'
, exclusionPreview_attributes
- The system-defined attributes for the exclusion preview.
$sel:title:ExclusionPreview'
, exclusionPreview_title
- The name of the exclusion preview.
$sel:description:ExclusionPreview'
, exclusionPreview_description
- The description of the exclusion preview.
$sel:recommendation:ExclusionPreview'
, exclusionPreview_recommendation
- The recommendation for the exclusion preview.
$sel:scopes:ExclusionPreview'
, exclusionPreview_scopes
- The AWS resources for which the exclusion preview pertains.
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
data FailedItemDetails Source #
Includes details about the failed items.
See: newFailedItemDetails
smart constructor.
FailedItemDetails' | |
|
Instances
Create a value of FailedItemDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureCode:FailedItemDetails'
, failedItemDetails_failureCode
- The status code of a failed item.
$sel:retryable:FailedItemDetails'
, failedItemDetails_retryable
- Indicates whether you can immediately retry a request for this item for
a specified resource.
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
Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.
See: newFinding
smart constructor.
Finding' | |
|
Instances
Create a value of Finding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:service:Finding'
, finding_service
- The data element is set to "Inspector".
$sel:severity:Finding'
, finding_severity
- The finding severity. Values can be set to High, Medium, Low, and
Informational.
$sel:schemaVersion:Finding'
, finding_schemaVersion
- The schema version of this data type.
$sel:confidence:Finding'
, finding_confidence
- This data element is currently not used.
$sel:assetAttributes:Finding'
, finding_assetAttributes
- A collection of attributes of the host from which the finding is
generated.
$sel:serviceAttributes:Finding'
, finding_serviceAttributes
- This data type is used in the Finding data type.
$sel:id:Finding'
, finding_id
- The ID of the finding.
$sel:numericSeverity:Finding'
, finding_numericSeverity
- The numeric value of the finding severity.
$sel:assetType:Finding'
, finding_assetType
- The type of the host from which the finding is generated.
$sel:title:Finding'
, finding_title
- The name of the finding.
$sel:indicatorOfCompromise:Finding'
, finding_indicatorOfCompromise
- This data element is currently not used.
$sel:description:Finding'
, finding_description
- The description of the finding.
$sel:recommendation:Finding'
, finding_recommendation
- The recommendation for the finding.
$sel:arn:Finding'
, finding_arn
- The ARN that specifies the finding.
$sel:attributes:Finding'
, finding_attributes
- The system-defined attributes for the finding.
$sel:userAttributes:Finding'
, finding_userAttributes
- The user-defined attributes that are assigned to the finding.
$sel:createdAt:Finding'
, finding_createdAt
- The time when the finding was generated.
$sel:updatedAt:Finding'
, finding_updatedAt
- The time when AddAttributesToFindings is called.
finding_severity :: Lens' Finding (Maybe Severity) Source #
The finding severity. Values can be set to High, Medium, Low, and Informational.
finding_schemaVersion :: Lens' Finding (Maybe Natural) Source #
The schema version of this data type.
finding_confidence :: Lens' Finding (Maybe Natural) Source #
This data element is currently not used.
finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes) Source #
A collection of attributes of the host from which the finding is generated.
finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes) Source #
This data type is used in the Finding data type.
finding_numericSeverity :: Lens' Finding (Maybe Double) Source #
The numeric value of the finding severity.
finding_assetType :: Lens' Finding (Maybe AssetType) Source #
The type of the host from which the finding is generated.
finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool) Source #
This data element is currently not used.
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
data FindingFilter Source #
This data type is used as a request parameter in the ListFindings action.
See: newFindingFilter
smart constructor.
FindingFilter' | |
|
Instances
newFindingFilter :: FindingFilter Source #
Create a value of FindingFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentIds:FindingFilter'
, findingFilter_agentIds
- 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.
$sel:ruleNames:FindingFilter'
, findingFilter_ruleNames
- 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.
$sel:userAttributes:FindingFilter'
, findingFilter_userAttributes
- 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.
$sel:rulesPackageArns:FindingFilter'
, findingFilter_rulesPackageArns
- 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.
$sel:attributes:FindingFilter'
, findingFilter_attributes
- 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.
$sel:severities:FindingFilter'
, findingFilter_severities
- 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.
$sel:creationTimeRange:FindingFilter'
, findingFilter_creationTimeRange
- The time range during which the finding is generated.
$sel:autoScalingGroups:FindingFilter'
, findingFilter_autoScalingGroups
- 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_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_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_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.
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_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_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_creationTimeRange :: Lens' FindingFilter (Maybe TimestampRange) Source #
The time range during which the finding is generated.
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.
InspectorServiceAttributes
data InspectorServiceAttributes Source #
This data type is used in the Finding data type.
See: newInspectorServiceAttributes
smart constructor.
InspectorServiceAttributes' | |
|
Instances
newInspectorServiceAttributes Source #
Create a value of InspectorServiceAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rulesPackageArn:InspectorServiceAttributes'
, inspectorServiceAttributes_rulesPackageArn
- The ARN of the rules package that is used to generate the finding.
$sel:assessmentRunArn:InspectorServiceAttributes'
, inspectorServiceAttributes_assessmentRunArn
- The ARN of the assessment run during which the finding is generated.
$sel:schemaVersion:InspectorServiceAttributes'
, inspectorServiceAttributes_schemaVersion
- The schema version of this data type.
inspectorServiceAttributes_rulesPackageArn :: Lens' InspectorServiceAttributes (Maybe Text) Source #
The ARN of the rules package that is used to generate the finding.
inspectorServiceAttributes_assessmentRunArn :: Lens' InspectorServiceAttributes (Maybe Text) Source #
The ARN of the assessment run during which the finding is generated.
inspectorServiceAttributes_schemaVersion :: Lens' InspectorServiceAttributes Natural Source #
The schema version of this data type.
NetworkInterface
data NetworkInterface Source #
Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type.
See: newNetworkInterface
smart constructor.
NetworkInterface' | |
|
Instances
newNetworkInterface :: NetworkInterface Source #
Create a value of NetworkInterface
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:privateIpAddresses:NetworkInterface'
, networkInterface_privateIpAddresses
- A list of the private IP addresses associated with the network
interface. Includes the privateDnsName and privateIpAddress.
$sel:publicDnsName:NetworkInterface'
, networkInterface_publicDnsName
- The name of a public DNS associated with the network interface.
$sel:securityGroups:NetworkInterface'
, networkInterface_securityGroups
- A list of the security groups associated with the network interface.
Includes the groupId and groupName.
$sel:vpcId:NetworkInterface'
, networkInterface_vpcId
- The ID of a VPC associated with the network interface.
$sel:subnetId:NetworkInterface'
, networkInterface_subnetId
- The ID of a subnet associated with the network interface.
$sel:networkInterfaceId:NetworkInterface'
, networkInterface_networkInterfaceId
- The ID of the network interface.
$sel:privateIpAddress:NetworkInterface'
, networkInterface_privateIpAddress
- The private IP address associated with the network interface.
$sel:publicIp:NetworkInterface'
, networkInterface_publicIp
- The public IP address from which the network interface is reachable.
$sel:privateDnsName:NetworkInterface'
, networkInterface_privateDnsName
- The name of a private DNS associated with the network interface.
$sel:ipv6Addresses:NetworkInterface'
, networkInterface_ipv6Addresses
- The IP addresses 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_securityGroups :: Lens' NetworkInterface (Maybe [SecurityGroup]) Source #
A list of the security groups associated with the network interface. Includes the groupId and groupName.
networkInterface_vpcId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of a VPC associated with the network interface.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of a subnet associated with the network interface.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of the network interface.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) Source #
The private IP address associated with the network interface.
networkInterface_publicIp :: Lens' NetworkInterface (Maybe Text) Source #
The public IP address from which the network interface is reachable.
networkInterface_privateDnsName :: Lens' NetworkInterface (Maybe Text) Source #
The name of a private DNS associated with the network interface.
networkInterface_ipv6Addresses :: Lens' NetworkInterface (Maybe [Text]) Source #
The IP addresses associated with the network interface.
PrivateIp
Contains information about a private IP address associated with a network interface. This data type is used as a response element in the DescribeFindings action.
See: newPrivateIp
smart constructor.
PrivateIp' | |
|
Instances
Eq PrivateIp Source # | |
Read PrivateIp Source # | |
Show PrivateIp Source # | |
Generic PrivateIp Source # | |
NFData PrivateIp Source # | |
Defined in Amazonka.Inspector.Types.PrivateIp | |
Hashable PrivateIp Source # | |
Defined in Amazonka.Inspector.Types.PrivateIp | |
FromJSON PrivateIp Source # | |
type Rep PrivateIp Source # | |
Defined in Amazonka.Inspector.Types.PrivateIp type Rep PrivateIp = D1 ('MetaData "PrivateIp" "Amazonka.Inspector.Types.PrivateIp" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "PrivateIp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privateDnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newPrivateIp :: PrivateIp Source #
Create a value of PrivateIp
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:privateIpAddress:PrivateIp'
, privateIp_privateIpAddress
- The full IP address of the network inteface.
$sel:privateDnsName:PrivateIp'
, privateIp_privateDnsName
- The DNS name of the private IP address.
privateIp_privateIpAddress :: Lens' PrivateIp (Maybe Text) Source #
The full IP address of the network inteface.
privateIp_privateDnsName :: Lens' PrivateIp (Maybe Text) Source #
The DNS name of the private IP address.
ResourceGroup
data ResourceGroup Source #
Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the DescribeResourceGroups action.
See: newResourceGroup
smart constructor.
Instances
:: Text | |
-> NonEmpty ResourceGroupTag | |
-> UTCTime | |
-> ResourceGroup |
Create a value of ResourceGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:ResourceGroup'
, resourceGroup_arn
- The ARN of the resource group.
$sel:tags:ResourceGroup'
, resourceGroup_tags
- The tags (key and value pairs) of the resource group. This data type
property is used in the CreateResourceGroup action.
$sel:createdAt:ResourceGroup'
, resourceGroup_createdAt
- The time at which resource group is created.
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
data ResourceGroupTag Source #
This data type is used as one of the elements of the ResourceGroup data type.
See: newResourceGroupTag
smart constructor.
Instances
Create a value of ResourceGroupTag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:ResourceGroupTag'
, resourceGroupTag_value
- The value assigned to a tag key.
$sel:key:ResourceGroupTag'
, resourceGroupTag_key
- A tag key.
resourceGroupTag_value :: Lens' ResourceGroupTag (Maybe Text) Source #
The value assigned to a tag key.
resourceGroupTag_key :: Lens' ResourceGroupTag Text Source #
A tag key.
RulesPackage
data RulesPackage Source #
Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action.
See: newRulesPackage
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> RulesPackage |
Create a value of RulesPackage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:RulesPackage'
, rulesPackage_description
- The description of the rules package.
$sel:arn:RulesPackage'
, rulesPackage_arn
- The ARN of the rules package.
$sel:name:RulesPackage'
, rulesPackage_name
- The name of the rules package.
$sel:version:RulesPackage'
, rulesPackage_version
- The version ID of the rules package.
$sel:provider:RulesPackage'
, rulesPackage_provider
- The provider of the rules package.
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
This data type contains key-value pairs that identify various Amazon resources.
See: newScope
smart constructor.
Instances
Eq Scope Source # | |
Read Scope Source # | |
Show Scope Source # | |
Generic Scope Source # | |
NFData Scope Source # | |
Defined in Amazonka.Inspector.Types.Scope | |
Hashable Scope Source # | |
Defined in Amazonka.Inspector.Types.Scope | |
FromJSON Scope Source # | |
type Rep Scope Source # | |
Defined in Amazonka.Inspector.Types.Scope type Rep Scope = D1 ('MetaData "Scope" "Amazonka.Inspector.Types.Scope" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Scope'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScopeType)))) |
Create a value of Scope
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Scope'
, scope_value
- The resource identifier for the specified scope type.
$sel:key:Scope'
, scope_key
- The type of the scope.
scope_value :: Lens' Scope (Maybe Text) Source #
The resource identifier for the specified scope type.
SecurityGroup
data SecurityGroup Source #
Contains information about a security group associated with a network interface. This data type is used as one of the elements of the NetworkInterface data type.
See: newSecurityGroup
smart constructor.
Instances
newSecurityGroup :: SecurityGroup Source #
Create a value of SecurityGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groupId:SecurityGroup'
, securityGroup_groupId
- The ID of the security group.
$sel:groupName:SecurityGroup'
, securityGroup_groupName
- The name of the security group.
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
data Subscription Source #
This data type is used as a response element in the ListEventSubscriptions action.
See: newSubscription
smart constructor.
Subscription' | |
|
Instances
:: Text | |
-> Text | |
-> NonEmpty EventSubscription | |
-> Subscription |
Create a value of Subscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:Subscription'
, subscription_resourceArn
- The ARN of the assessment template that is used during the event for
which the SNS notification is sent.
$sel:topicArn:Subscription'
, subscription_topicArn
- The ARN of the Amazon Simple Notification Service (SNS) topic to which
the SNS notifications are sent.
$sel:eventSubscriptions:Subscription'
, subscription_eventSubscriptions
- The list of existing event subscriptions.
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
A key and value pair. This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.Inspector.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.Inspector.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.Inspector.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.Inspector.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Inspector.Types.Tag" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Tag'
, tag_value
- A value assigned to a tag key.
$sel:key:Tag'
, tag_key
- A tag key.
TelemetryMetadata
data TelemetryMetadata Source #
The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the GetTelemetryMetadata action.
See: newTelemetryMetadata
smart constructor.
Instances
:: Text | |
-> Integer | |
-> TelemetryMetadata |
Create a value of TelemetryMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dataSize:TelemetryMetadata'
, telemetryMetadata_dataSize
- The data size of messages that the agent sends to the Amazon Inspector
service.
$sel:messageType:TelemetryMetadata'
, telemetryMetadata_messageType
- A specific type of behavioral data that is collected by the agent.
$sel:count:TelemetryMetadata'
, telemetryMetadata_count
- The count of messages that the agent sends to the Amazon Inspector
service.
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
data TimestampRange Source #
This data type is used in the AssessmentRunFilter data type.
See: newTimestampRange
smart constructor.
Instances
newTimestampRange :: TimestampRange Source #
Create a value of TimestampRange
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endDate:TimestampRange'
, timestampRange_endDate
- The maximum value of the timestamp range.
$sel:beginDate:TimestampRange'
, timestampRange_beginDate
- The minimum value of the timestamp range.
timestampRange_endDate :: Lens' TimestampRange (Maybe UTCTime) Source #
The maximum value of the timestamp range.
timestampRange_beginDate :: Lens' TimestampRange (Maybe UTCTime) Source #
The minimum value of the timestamp range.