| 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 |
Amazonka.SecurityHub.Types.Action
Description
Synopsis
- data Action = Action' {}
- newAction :: Action
- action_networkConnectionAction :: Lens' Action (Maybe NetworkConnectionAction)
- action_portProbeAction :: Lens' Action (Maybe PortProbeAction)
- action_actionType :: Lens' Action (Maybe Text)
- action_dnsRequestAction :: Lens' Action (Maybe DnsRequestAction)
- action_awsApiCallAction :: Lens' Action (Maybe AwsApiCallAction)
Documentation
Provides details about one of the following actions that affects or that was taken on a resource:
- A remote IP address issued an Amazon Web Services API call
- A DNS request was received
- A remote IP address attempted to connect to an EC2 instance
- A remote IP address attempted a port probe on an EC2 instance
See: newAction smart constructor.
Constructors
| Action' | |
Fields
| |
Instances
Create a value of Action 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:networkConnectionAction:Action', action_networkConnectionAction - Included if ActionType is NETWORK_CONNECTION. Provides details about
the network connection that was detected.
$sel:portProbeAction:Action', action_portProbeAction - Included if ActionType is PORT_PROBE. Provides details about the
port probe that was detected.
$sel:actionType:Action', action_actionType - The type of action that was detected. The possible action types are:
NETWORK_CONNECTION
AWS_API_CALL
DNS_REQUEST
PORT_PROBE
$sel:dnsRequestAction:Action', action_dnsRequestAction - Included if ActionType is DNS_REQUEST. Provides details about the
DNS request that was detected.
$sel:awsApiCallAction:Action', action_awsApiCallAction - Included if ActionType is AWS_API_CALL. Provides details about the
API call that was detected.
action_networkConnectionAction :: Lens' Action (Maybe NetworkConnectionAction) Source #
Included if ActionType is NETWORK_CONNECTION. Provides details about
the network connection that was detected.
action_portProbeAction :: Lens' Action (Maybe PortProbeAction) Source #
Included if ActionType is PORT_PROBE. Provides details about the
port probe that was detected.
action_actionType :: Lens' Action (Maybe Text) Source #
The type of action that was detected. The possible action types are:
NETWORK_CONNECTION
AWS_API_CALL
DNS_REQUEST
PORT_PROBE
action_dnsRequestAction :: Lens' Action (Maybe DnsRequestAction) Source #
Included if ActionType is DNS_REQUEST. Provides details about the
DNS request that was detected.
action_awsApiCallAction :: Lens' Action (Maybe AwsApiCallAction) Source #
Included if ActionType is AWS_API_CALL. Provides details about the
API call that was detected.