libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.Action

Description

 
Synopsis

Documentation

data Action Source #

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

Instances details
Eq Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

Methods

(==) :: Action -> Action -> Bool #

(/=) :: Action -> Action -> Bool #

Read Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

NFData Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

Methods

rnf :: Action -> () #

Hashable Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

ToJSON Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

FromJSON Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

type Rep Action Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.SecurityHub.Types.Action" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Action'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "networkConnectionAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConnectionAction)) :*: S1 ('MetaSel ('Just "portProbeAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PortProbeAction))) :*: (S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dnsRequestAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DnsRequestAction)) :*: S1 ('MetaSel ('Just "awsApiCallAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsApiCallAction))))))

newAction :: Action Source #

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.