Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- AgentHealth
- AgentHealthCode
- AssessmentRunNotificationSNSStatusCode
- AssessmentRunState
- AssetType
- FailedItemErrorCode
- InspectorEvent
- Locale
- Severity
- AgentFilter
- AgentPreview
- AssessmentRun
- AssessmentRunAgent
- AssessmentRunFilter
- AssessmentRunNotification
- AssessmentRunStateChange
- AssessmentTarget
- AssessmentTargetFilter
- AssessmentTemplate
- AssessmentTemplateFilter
- AssetAttributes
- Attribute
- DurationRange
- EventSubscription
- FailedItemDetails
- Finding
- FindingFilter
- InspectorServiceAttributes
- ResourceGroup
- ResourceGroupTag
- RulesPackage
- Subscription
- Tag
- TelemetryMetadata
- TimestampRange
- inspector :: 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
- _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
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data AgentHealth
- data AgentHealthCode
- data AssessmentRunNotificationSNSStatusCode
- data AssessmentRunState
- data AssetType = EC2Instance
- data FailedItemErrorCode
- data InspectorEvent
- data Locale = EnUs
- data Severity
- = High
- | Informational
- | Low
- | Medium
- | Undefined
- data AgentFilter
- agentFilter :: AgentFilter
- afAgentHealths :: Lens' AgentFilter [AgentHealth]
- afAgentHealthCodes :: Lens' AgentFilter [AgentHealthCode]
- data AgentPreview
- agentPreview :: Text -> AgentPreview
- apAutoScalingGroup :: Lens' AgentPreview (Maybe Text)
- apAgentId :: Lens' AgentPreview Text
- data AssessmentRun
- assessmentRun :: Text -> Text -> Text -> AssessmentRunState -> Natural -> NonEmpty Text -> UTCTime -> UTCTime -> Bool -> AssessmentRun
- arStartedAt :: Lens' AssessmentRun (Maybe UTCTime)
- arCompletedAt :: Lens' AssessmentRun (Maybe UTCTime)
- arArn :: Lens' AssessmentRun Text
- arName :: Lens' AssessmentRun Text
- arAssessmentTemplateARN :: Lens' AssessmentRun Text
- arState :: Lens' AssessmentRun AssessmentRunState
- arDurationInSeconds :: Lens' AssessmentRun Natural
- arRulesPackageARNs :: Lens' AssessmentRun (NonEmpty Text)
- arUserAttributesForFindings :: Lens' AssessmentRun [Attribute]
- arCreatedAt :: Lens' AssessmentRun UTCTime
- arStateChangedAt :: Lens' AssessmentRun UTCTime
- arDataCollected :: Lens' AssessmentRun Bool
- arStateChanges :: Lens' AssessmentRun [AssessmentRunStateChange]
- arNotifications :: Lens' AssessmentRun [AssessmentRunNotification]
- data AssessmentRunAgent
- assessmentRunAgent :: Text -> Text -> AgentHealth -> AgentHealthCode -> AssessmentRunAgent
- araAutoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text)
- araAgentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text)
- araAgentId :: Lens' AssessmentRunAgent Text
- araAssessmentRunARN :: Lens' AssessmentRunAgent Text
- araAgentHealth :: Lens' AssessmentRunAgent AgentHealth
- araAgentHealthCode :: Lens' AssessmentRunAgent AgentHealthCode
- araTelemetryMetadata :: Lens' AssessmentRunAgent [TelemetryMetadata]
- data AssessmentRunFilter
- assessmentRunFilter :: AssessmentRunFilter
- arfStates :: Lens' AssessmentRunFilter [AssessmentRunState]
- arfNamePattern :: Lens' AssessmentRunFilter (Maybe Text)
- arfStartTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- arfStateChangeTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- arfRulesPackageARNs :: Lens' AssessmentRunFilter [Text]
- arfCompletionTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange)
- arfDurationRange :: Lens' AssessmentRunFilter (Maybe DurationRange)
- data AssessmentRunNotification
- assessmentRunNotification :: UTCTime -> InspectorEvent -> Bool -> AssessmentRunNotification
- arnSnsTopicARN :: Lens' AssessmentRunNotification (Maybe Text)
- arnSnsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSNSStatusCode)
- arnMessage :: Lens' AssessmentRunNotification (Maybe Text)
- arnDate :: Lens' AssessmentRunNotification UTCTime
- arnEvent :: Lens' AssessmentRunNotification InspectorEvent
- arnError :: Lens' AssessmentRunNotification Bool
- data AssessmentRunStateChange
- assessmentRunStateChange :: UTCTime -> AssessmentRunState -> AssessmentRunStateChange
- arscStateChangedAt :: Lens' AssessmentRunStateChange UTCTime
- arscState :: Lens' AssessmentRunStateChange AssessmentRunState
- data AssessmentTarget
- assessmentTarget :: Text -> Text -> Text -> UTCTime -> UTCTime -> AssessmentTarget
- aArn :: Lens' AssessmentTarget Text
- aName :: Lens' AssessmentTarget Text
- aResourceGroupARN :: Lens' AssessmentTarget Text
- aCreatedAt :: Lens' AssessmentTarget UTCTime
- aUpdatedAt :: Lens' AssessmentTarget UTCTime
- data AssessmentTargetFilter
- assessmentTargetFilter :: AssessmentTargetFilter
- atfAssessmentTargetNamePattern :: Lens' AssessmentTargetFilter (Maybe Text)
- data AssessmentTemplate
- assessmentTemplate :: Text -> Text -> Text -> Natural -> UTCTime -> AssessmentTemplate
- atArn :: Lens' AssessmentTemplate Text
- atName :: Lens' AssessmentTemplate Text
- atAssessmentTargetARN :: Lens' AssessmentTemplate Text
- atDurationInSeconds :: Lens' AssessmentTemplate Natural
- atRulesPackageARNs :: Lens' AssessmentTemplate [Text]
- atUserAttributesForFindings :: Lens' AssessmentTemplate [Attribute]
- atCreatedAt :: Lens' AssessmentTemplate UTCTime
- data AssessmentTemplateFilter
- assessmentTemplateFilter :: AssessmentTemplateFilter
- atfNamePattern :: Lens' AssessmentTemplateFilter (Maybe Text)
- atfRulesPackageARNs :: Lens' AssessmentTemplateFilter [Text]
- atfDurationRange :: Lens' AssessmentTemplateFilter (Maybe DurationRange)
- data AssetAttributes
- assetAttributes :: Natural -> AssetAttributes
- aaHostname :: Lens' AssetAttributes (Maybe Text)
- aaAutoScalingGroup :: Lens' AssetAttributes (Maybe Text)
- aaIpv4Addresses :: Lens' AssetAttributes [Text]
- aaAgentId :: Lens' AssetAttributes (Maybe Text)
- aaAmiId :: Lens' AssetAttributes (Maybe Text)
- aaSchemaVersion :: Lens' AssetAttributes Natural
- data Attribute
- attribute :: Text -> Attribute
- aValue :: Lens' Attribute (Maybe Text)
- aKey :: Lens' Attribute Text
- data DurationRange
- durationRange :: DurationRange
- drMinSeconds :: Lens' DurationRange (Maybe Natural)
- drMaxSeconds :: Lens' DurationRange (Maybe Natural)
- data EventSubscription
- eventSubscription :: InspectorEvent -> UTCTime -> EventSubscription
- esEvent :: Lens' EventSubscription InspectorEvent
- esSubscribedAt :: Lens' EventSubscription UTCTime
- data FailedItemDetails
- failedItemDetails :: FailedItemErrorCode -> Bool -> FailedItemDetails
- fidFailureCode :: Lens' FailedItemDetails FailedItemErrorCode
- fidRetryable :: Lens' FailedItemDetails Bool
- data Finding
- finding :: Text -> UTCTime -> UTCTime -> Finding
- fService :: Lens' Finding (Maybe Text)
- fSeverity :: Lens' Finding (Maybe Severity)
- fSchemaVersion :: Lens' Finding (Maybe Natural)
- fConfidence :: Lens' Finding (Maybe Natural)
- fAssetAttributes :: Lens' Finding (Maybe AssetAttributes)
- fServiceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes)
- fId :: Lens' Finding (Maybe Text)
- fNumericSeverity :: Lens' Finding (Maybe Double)
- fAssetType :: Lens' Finding (Maybe AssetType)
- fTitle :: Lens' Finding (Maybe Text)
- fIndicatorOfCompromise :: Lens' Finding (Maybe Bool)
- fDescription :: Lens' Finding (Maybe Text)
- fRecommendation :: Lens' Finding (Maybe Text)
- fArn :: Lens' Finding Text
- fAttributes :: Lens' Finding [Attribute]
- fUserAttributes :: Lens' Finding [Attribute]
- fCreatedAt :: Lens' Finding UTCTime
- fUpdatedAt :: Lens' Finding UTCTime
- data FindingFilter
- findingFilter :: FindingFilter
- ffAgentIds :: Lens' FindingFilter [Text]
- ffRuleNames :: Lens' FindingFilter [Text]
- ffUserAttributes :: Lens' FindingFilter [Attribute]
- ffRulesPackageARNs :: Lens' FindingFilter [Text]
- ffAttributes :: Lens' FindingFilter [Attribute]
- ffSeverities :: Lens' FindingFilter [Severity]
- ffCreationTimeRange :: Lens' FindingFilter (Maybe TimestampRange)
- ffAutoScalingGroups :: Lens' FindingFilter [Text]
- data InspectorServiceAttributes
- inspectorServiceAttributes :: Natural -> InspectorServiceAttributes
- isaRulesPackageARN :: Lens' InspectorServiceAttributes (Maybe Text)
- isaAssessmentRunARN :: Lens' InspectorServiceAttributes (Maybe Text)
- isaSchemaVersion :: Lens' InspectorServiceAttributes Natural
- data ResourceGroup
- resourceGroup :: Text -> NonEmpty ResourceGroupTag -> UTCTime -> ResourceGroup
- rgArn :: Lens' ResourceGroup Text
- rgTags :: Lens' ResourceGroup (NonEmpty ResourceGroupTag)
- rgCreatedAt :: Lens' ResourceGroup UTCTime
- data ResourceGroupTag
- resourceGroupTag :: Text -> ResourceGroupTag
- rgtValue :: Lens' ResourceGroupTag (Maybe Text)
- rgtKey :: Lens' ResourceGroupTag Text
- data RulesPackage
- rulesPackage :: Text -> Text -> Text -> Text -> RulesPackage
- rpDescription :: Lens' RulesPackage (Maybe Text)
- rpArn :: Lens' RulesPackage Text
- rpName :: Lens' RulesPackage Text
- rpVersion :: Lens' RulesPackage Text
- rpProvider :: Lens' RulesPackage Text
- data Subscription
- subscription :: Text -> Text -> NonEmpty EventSubscription -> Subscription
- sResourceARN :: Lens' Subscription Text
- sTopicARN :: Lens' Subscription Text
- sEventSubscriptions :: Lens' Subscription (NonEmpty EventSubscription)
- data Tag
- tag :: Text -> Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag Text
- data TelemetryMetadata
- telemetryMetadata :: Text -> Integer -> TelemetryMetadata
- tmDataSize :: Lens' TelemetryMetadata (Maybe Integer)
- tmMessageType :: Lens' TelemetryMetadata Text
- tmCount :: Lens' TelemetryMetadata Integer
- data TimestampRange
- timestampRange :: TimestampRange
- trEndDate :: Lens' TimestampRange (Maybe UTCTime)
- trBeginDate :: Lens' TimestampRange (Maybe UTCTime)
Service 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.
_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.
_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
data AgentHealth Source #
AgentHealthCode
data AgentHealthCode Source #
AssessmentRunNotificationSNSStatusCode
data AssessmentRunNotificationSNSStatusCode Source #
AssessmentRunState
data AssessmentRunState Source #
CollectingData | |
Completed | |
CompletedWithErrors | |
Created | |
DataCollected | |
EvaluatingRules | |
Failed | |
StartDataCollectionInProgress | |
StartDataCollectionPending | |
StopDataCollectionPending |
AssetType
FailedItemErrorCode
data FailedItemErrorCode Source #
FIECAccessDenied | |
FIECDuplicateARN | |
FIECInternalError | |
FIECInvalidARN | |
FIECItemDoesNotExist | |
FIECLimitExceeded |
InspectorEvent
data InspectorEvent Source #
Locale
Severity
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: agentFilter
smart constructor.
agentFilter :: AgentFilter Source #
Creates a value of AgentFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
afAgentHealths :: Lens' AgentFilter [AgentHealth] Source #
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
afAgentHealthCodes :: 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: agentPreview
smart constructor.
Creates a value of AgentPreview
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
apAutoScalingGroup :: Lens' AgentPreview (Maybe Text) Source #
The Auto Scaling group for the EC2 instance where the agent is installed.
apAgentId :: 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: assessmentRun
smart constructor.
:: Text | |
-> Text | |
-> Text | |
-> AssessmentRunState | |
-> Natural | |
-> NonEmpty Text | |
-> UTCTime | |
-> UTCTime | |
-> Bool | |
-> AssessmentRun |
Creates a value of AssessmentRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arStartedAt :: Lens' AssessmentRun (Maybe UTCTime) Source #
The time when StartAssessmentRun was called.
arCompletedAt :: Lens' AssessmentRun (Maybe UTCTime) Source #
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
arAssessmentTemplateARN :: Lens' AssessmentRun Text Source #
The ARN of the assessment template that is associated with the assessment run.
arState :: Lens' AssessmentRun AssessmentRunState Source #
The state of the assessment run.
arDurationInSeconds :: Lens' AssessmentRun Natural Source #
The duration of the assessment run.
arRulesPackageARNs :: Lens' AssessmentRun (NonEmpty Text) Source #
The rules packages selected for the assessment run.
arUserAttributesForFindings :: Lens' AssessmentRun [Attribute] Source #
The user-defined attributes that are assigned to every generated finding.
arCreatedAt :: Lens' AssessmentRun UTCTime Source #
The time when StartAssessmentRun was called.
arStateChangedAt :: Lens' AssessmentRun UTCTime Source #
The last time when the assessment run's state changed.
arDataCollected :: Lens' AssessmentRun Bool Source #
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
arStateChanges :: Lens' AssessmentRun [AssessmentRunStateChange] Source #
A list of the assessment run state changes.
arNotifications :: 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.
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: assessmentRunAgent
smart constructor.
:: Text | |
-> Text | |
-> AgentHealth | |
-> AgentHealthCode | |
-> AssessmentRunAgent |
Creates a value of AssessmentRunAgent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
araAutoScalingGroup :: Lens' AssessmentRunAgent (Maybe Text) Source #
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
araAgentHealthDetails :: Lens' AssessmentRunAgent (Maybe Text) Source #
The description for the agent health code.
araAgentId :: Lens' AssessmentRunAgent Text Source #
The AWS account of the EC2 instance where the agent is installed.
araAssessmentRunARN :: Lens' AssessmentRunAgent Text Source #
The ARN of the assessment run that is associated with the agent.
araAgentHealth :: Lens' AssessmentRunAgent AgentHealth Source #
The current health state of the agent.
araAgentHealthCode :: Lens' AssessmentRunAgent AgentHealthCode Source #
The detailed health state of the agent.
araTelemetryMetadata :: 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: assessmentRunFilter
smart constructor.
assessmentRunFilter :: AssessmentRunFilter Source #
Creates a value of AssessmentRunFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arfStates :: Lens' AssessmentRunFilter [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.
arfNamePattern :: 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.
arfStartTimeRange :: 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.
arfStateChangeTimeRange :: 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.
arfRulesPackageARNs :: Lens' AssessmentRunFilter [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.
arfCompletionTimeRange :: 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.
arfDurationRange :: 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: assessmentRunNotification
smart constructor.
assessmentRunNotification Source #
Creates a value of AssessmentRunNotification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arnSnsTopicARN :: Lens' AssessmentRunNotification (Maybe Text) Source #
The SNS topic to which the SNS notification is sent.
arnSnsPublishStatusCode :: Lens' AssessmentRunNotification (Maybe AssessmentRunNotificationSNSStatusCode) Source #
The status code of the SNS notification.
arnMessage :: Lens' AssessmentRunNotification (Maybe Text) Source #
Undocumented member.
arnEvent :: Lens' AssessmentRunNotification InspectorEvent Source #
The event for which a notification is sent.
arnError :: 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: assessmentRunStateChange
smart constructor.
assessmentRunStateChange Source #
Creates a value of AssessmentRunStateChange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arscStateChangedAt :: Lens' AssessmentRunStateChange UTCTime Source #
The last time the assessment run state changed.
arscState :: 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: assessmentTarget
smart constructor.
Creates a value of AssessmentTarget
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aArn :: Lens' AssessmentTarget Text Source #
The ARN that specifies the Amazon Inspector assessment target.
aResourceGroupARN :: Lens' AssessmentTarget Text Source #
The ARN that specifies the resource group that is associated with the assessment target.
aCreatedAt :: Lens' AssessmentTarget UTCTime Source #
The time at which the assessment target is created.
aUpdatedAt :: 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: assessmentTargetFilter
smart constructor.
assessmentTargetFilter :: AssessmentTargetFilter Source #
Creates a value of AssessmentTargetFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atfAssessmentTargetNamePattern :: 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: assessmentTemplate
smart constructor.
Creates a value of AssessmentTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atAssessmentTargetARN :: Lens' AssessmentTemplate Text Source #
The ARN of the assessment target that corresponds to this assessment template.
atDurationInSeconds :: Lens' AssessmentTemplate Natural Source #
The duration in seconds specified for this assessment tempate. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
atRulesPackageARNs :: Lens' AssessmentTemplate [Text] Source #
The rules packages that are specified for this assessment template.
atUserAttributesForFindings :: Lens' AssessmentTemplate [Attribute] Source #
The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template.
atCreatedAt :: 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: assessmentTemplateFilter
smart constructor.
assessmentTemplateFilter :: AssessmentTemplateFilter Source #
Creates a value of AssessmentTemplateFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atfNamePattern :: 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.
atfRulesPackageARNs :: Lens' AssessmentTemplateFilter [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.
atfDurationRange :: 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: assetAttributes
smart constructor.
Creates a value of AssetAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aaHostname :: Lens' AssetAttributes (Maybe Text) Source #
The hostname of the EC2 instance where the finding is generated.
aaAutoScalingGroup :: Lens' AssetAttributes (Maybe Text) Source #
The Auto Scaling group of the EC2 instance where the finding is generated.
aaIpv4Addresses :: Lens' AssetAttributes [Text] Source #
The list of IP v4 addresses of the EC2 instance where the finding is generated.
aaAgentId :: Lens' AssetAttributes (Maybe Text) Source #
The ID of the agent that is installed on the EC2 instance where the finding is generated.
aaAmiId :: 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.
aaSchemaVersion :: 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: attribute
smart constructor.
DurationRange
data DurationRange Source #
This data type is used in the AssessmentTemplateFilter data type.
See: durationRange
smart constructor.
durationRange :: DurationRange Source #
Creates a value of DurationRange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drMinSeconds :: Lens' DurationRange (Maybe Natural) Source #
The minimum value of the duration range. Must be greater than zero.
drMaxSeconds :: 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: eventSubscription
smart constructor.
Creates a value of EventSubscription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
esEvent :: Lens' EventSubscription InspectorEvent Source #
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
esSubscribedAt :: Lens' EventSubscription UTCTime Source #
The time at which SubscribeToEvent is called.
FailedItemDetails
data FailedItemDetails Source #
Includes details about the failed items.
See: failedItemDetails
smart constructor.
Creates a value of FailedItemDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fidFailureCode :: Lens' FailedItemDetails FailedItemErrorCode Source #
The status code of a failed item.
fidRetryable :: 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: finding
smart constructor.
Creates a value of Finding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fSeverity :: Lens' Finding (Maybe Severity) Source #
The finding severity. Values can be set to High, Medium, Low, and Informational.
fAssetAttributes :: Lens' Finding (Maybe AssetAttributes) Source #
A collection of attributes of the host from which the finding is generated.
fServiceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes) Source #
Undocumented member.
fAssetType :: Lens' Finding (Maybe AssetType) Source #
The type of the host from which the finding is generated.
fIndicatorOfCompromise :: Lens' Finding (Maybe Bool) Source #
This data element is currently not used.
fUserAttributes :: Lens' Finding [Attribute] Source #
The user-defined attributes that are assigned to the finding.
fUpdatedAt :: Lens' Finding UTCTime Source #
The time when AddAttributesToFindings is called.
FindingFilter
data FindingFilter Source #
This data type is used as a request parameter in the ListFindings action.
See: findingFilter
smart constructor.
findingFilter :: FindingFilter Source #
Creates a value of FindingFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ffAgentIds :: Lens' FindingFilter [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.
ffRuleNames :: Lens' FindingFilter [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.
ffUserAttributes :: Lens' FindingFilter [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.
ffRulesPackageARNs :: Lens' FindingFilter [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.
ffAttributes :: Lens' FindingFilter [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.
ffSeverities :: Lens' FindingFilter [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.
ffCreationTimeRange :: Lens' FindingFilter (Maybe TimestampRange) Source #
The time range during which the finding is generated.
ffAutoScalingGroups :: Lens' FindingFilter [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: inspectorServiceAttributes
smart constructor.
inspectorServiceAttributes Source #
Creates a value of InspectorServiceAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isaRulesPackageARN :: Lens' InspectorServiceAttributes (Maybe Text) Source #
The ARN of the rules package that is used to generate the finding.
isaAssessmentRunARN :: Lens' InspectorServiceAttributes (Maybe Text) Source #
The ARN of the assessment run during which the finding is generated.
isaSchemaVersion :: Lens' InspectorServiceAttributes Natural Source #
The schema version of this data type.
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: resourceGroup
smart constructor.
Creates a value of ResourceGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rgTags :: 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.
rgCreatedAt :: 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: resourceGroupTag
smart constructor.
Creates a value of ResourceGroupTag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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: rulesPackage
smart constructor.
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> RulesPackage |
Creates a value of RulesPackage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpDescription :: Lens' RulesPackage (Maybe Text) Source #
The description of the rules package.
rpProvider :: Lens' RulesPackage Text Source #
The provider of the rules package.
Subscription
data Subscription Source #
This data type is used as a response element in the ListEventSubscriptions action.
See: subscription
smart constructor.
Creates a value of Subscription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sResourceARN :: Lens' Subscription Text Source #
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
sTopicARN :: Lens' Subscription Text Source #
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
sEventSubscriptions :: 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: tag
smart constructor.
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: telemetryMetadata
smart constructor.
Creates a value of TelemetryMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tmDataSize :: Lens' TelemetryMetadata (Maybe Integer) Source #
The data size of messages that the agent sends to the Amazon Inspector service.
tmMessageType :: Lens' TelemetryMetadata Text Source #
A specific type of behavioral data that is collected by the agent.
tmCount :: 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: timestampRange
smart constructor.
timestampRange :: TimestampRange Source #
Creates a value of TimestampRange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trBeginDate :: Lens' TimestampRange (Maybe UTCTime) Source #
The minimum value of the timestamp range.