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

Description

 
Synopsis

Documentation

data Malware Source #

A list of malware related to a finding.

See: newMalware smart constructor.

Constructors

Malware' 

Fields

Instances

Instances details
Eq Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

Methods

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

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

Read Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

Show Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

Generic Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

Associated Types

type Rep Malware :: Type -> Type #

Methods

from :: Malware -> Rep Malware x #

to :: Rep Malware x -> Malware #

NFData Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

Methods

rnf :: Malware -> () #

Hashable Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

Methods

hashWithSalt :: Int -> Malware -> Int #

hash :: Malware -> Int #

ToJSON Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

FromJSON Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

type Rep Malware Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Malware

type Rep Malware = D1 ('MetaData "Malware" "Amazonka.SecurityHub.Types.Malware" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Malware'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MalwareState)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MalwareType)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMalware Source #

Create a value of Malware 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:state:Malware', malware_state - The state of the malware that was observed.

$sel:path:Malware', malware_path - The file system path of the malware that was observed.

$sel:type':Malware', malware_type - The type of the malware that was observed.

$sel:name:Malware', malware_name - The name of the malware that was observed.

malware_state :: Lens' Malware (Maybe MalwareState) Source #

The state of the malware that was observed.

malware_path :: Lens' Malware (Maybe Text) Source #

The file system path of the malware that was observed.

malware_type :: Lens' Malware (Maybe MalwareType) Source #

The type of the malware that was observed.

malware_name :: Lens' Malware Text Source #

The name of the malware that was observed.