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 |
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
Synopsis
- data DescribeAuditMitigationActionsTask = DescribeAuditMitigationActionsTask' {}
- newDescribeAuditMitigationActionsTask :: Text -> DescribeAuditMitigationActionsTask
- describeAuditMitigationActionsTask_taskId :: Lens' DescribeAuditMitigationActionsTask Text
- data DescribeAuditMitigationActionsTaskResponse = DescribeAuditMitigationActionsTaskResponse' {
- startTime :: Maybe POSIX
- taskStatistics :: Maybe (HashMap Text TaskStatisticsForAuditCheck)
- actionsDefinition :: Maybe [MitigationAction]
- auditCheckToActionsMapping :: Maybe (HashMap Text (NonEmpty Text))
- endTime :: Maybe POSIX
- target :: Maybe AuditMitigationActionsTaskTarget
- taskStatus :: Maybe AuditMitigationActionsTaskStatus
- httpStatus :: Int
- newDescribeAuditMitigationActionsTaskResponse :: Int -> DescribeAuditMitigationActionsTaskResponse
- describeAuditMitigationActionsTaskResponse_startTime :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe UTCTime)
- describeAuditMitigationActionsTaskResponse_taskStatistics :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe (HashMap Text TaskStatisticsForAuditCheck))
- describeAuditMitigationActionsTaskResponse_actionsDefinition :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe [MitigationAction])
- describeAuditMitigationActionsTaskResponse_auditCheckToActionsMapping :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe (HashMap Text (NonEmpty Text)))
- describeAuditMitigationActionsTaskResponse_endTime :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe UTCTime)
- describeAuditMitigationActionsTaskResponse_target :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe AuditMitigationActionsTaskTarget)
- describeAuditMitigationActionsTaskResponse_taskStatus :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe AuditMitigationActionsTaskStatus)
- describeAuditMitigationActionsTaskResponse_httpStatus :: Lens' DescribeAuditMitigationActionsTaskResponse Int
Creating a Request
data DescribeAuditMitigationActionsTask Source #
See: newDescribeAuditMitigationActionsTask
smart constructor.
Instances
newDescribeAuditMitigationActionsTask Source #
Create a value of DescribeAuditMitigationActionsTask
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:taskId:DescribeAuditMitigationActionsTask'
, describeAuditMitigationActionsTask_taskId
- The unique identifier for the audit mitigation task.
Request Lenses
describeAuditMitigationActionsTask_taskId :: Lens' DescribeAuditMitigationActionsTask Text Source #
The unique identifier for the audit mitigation task.
Destructuring the Response
data DescribeAuditMitigationActionsTaskResponse Source #
See: newDescribeAuditMitigationActionsTaskResponse
smart constructor.
DescribeAuditMitigationActionsTaskResponse' | |
|
Instances
newDescribeAuditMitigationActionsTaskResponse Source #
Create a value of DescribeAuditMitigationActionsTaskResponse
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:startTime:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_startTime
- The date and time when the task was started.
$sel:taskStatistics:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_taskStatistics
- Aggregate counts of the results when the mitigation tasks were applied
to the findings for this audit mitigation actions task.
$sel:actionsDefinition:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_actionsDefinition
- Specifies the mitigation actions and their parameters that are applied
as part of this task.
$sel:auditCheckToActionsMapping:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_auditCheckToActionsMapping
- Specifies the mitigation actions that should be applied to specific
audit checks.
$sel:endTime:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_endTime
- The date and time when the task was completed or canceled.
$sel:target:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_target
- Identifies the findings to which the mitigation actions are applied.
This can be by audit checks, by audit task, or a set of findings.
$sel:taskStatus:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_taskStatus
- The current status of the task.
$sel:httpStatus:DescribeAuditMitigationActionsTaskResponse'
, describeAuditMitigationActionsTaskResponse_httpStatus
- The response's http status code.
Response Lenses
describeAuditMitigationActionsTaskResponse_startTime :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe UTCTime) Source #
The date and time when the task was started.
describeAuditMitigationActionsTaskResponse_taskStatistics :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe (HashMap Text TaskStatisticsForAuditCheck)) Source #
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
describeAuditMitigationActionsTaskResponse_actionsDefinition :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe [MitigationAction]) Source #
Specifies the mitigation actions and their parameters that are applied as part of this task.
describeAuditMitigationActionsTaskResponse_auditCheckToActionsMapping :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe (HashMap Text (NonEmpty Text))) Source #
Specifies the mitigation actions that should be applied to specific audit checks.
describeAuditMitigationActionsTaskResponse_endTime :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe UTCTime) Source #
The date and time when the task was completed or canceled.
describeAuditMitigationActionsTaskResponse_target :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe AuditMitigationActionsTaskTarget) Source #
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
describeAuditMitigationActionsTaskResponse_taskStatus :: Lens' DescribeAuditMitigationActionsTaskResponse (Maybe AuditMitigationActionsTaskStatus) Source #
The current status of the task.
describeAuditMitigationActionsTaskResponse_httpStatus :: Lens' DescribeAuditMitigationActionsTaskResponse Int Source #
The response's http status code.