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.DnsRequestAction

Description

 
Synopsis

Documentation

data DnsRequestAction Source #

Provided if ActionType is DNS_REQUEST. It provides details about the DNS request that was detected.

See: newDnsRequestAction smart constructor.

Constructors

DnsRequestAction' 

Fields

Instances

Instances details
Eq DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

Read DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

Show DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

Generic DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

Associated Types

type Rep DnsRequestAction :: Type -> Type #

NFData DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

Methods

rnf :: DnsRequestAction -> () #

Hashable DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

ToJSON DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

FromJSON DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

type Rep DnsRequestAction Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DnsRequestAction

type Rep DnsRequestAction = D1 ('MetaData "DnsRequestAction" "Amazonka.SecurityHub.Types.DnsRequestAction" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DnsRequestAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newDnsRequestAction :: DnsRequestAction Source #

Create a value of DnsRequestAction 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:domain:DnsRequestAction', dnsRequestAction_domain - The DNS domain that is associated with the DNS request.

$sel:protocol:DnsRequestAction', dnsRequestAction_protocol - The protocol that was used for the DNS request.

$sel:blocked:DnsRequestAction', dnsRequestAction_blocked - Indicates whether the DNS request was blocked.

dnsRequestAction_domain :: Lens' DnsRequestAction (Maybe Text) Source #

The DNS domain that is associated with the DNS request.

dnsRequestAction_protocol :: Lens' DnsRequestAction (Maybe Text) Source #

The protocol that was used for the DNS request.

dnsRequestAction_blocked :: Lens' DnsRequestAction (Maybe Bool) Source #

Indicates whether the DNS request was blocked.