amazonka-guardduty-2.0: Amazon GuardDuty SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GuardDuty.Types.Scan

Description

 
Synopsis

Documentation

data Scan Source #

Contains information about a malware scan.

See: newScan smart constructor.

Constructors

Scan' 

Fields

Instances

Instances details
FromJSON Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Generic Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Associated Types

type Rep Scan :: Type -> Type #

Methods

from :: Scan -> Rep Scan x #

to :: Rep Scan x -> Scan #

Read Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Show Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Methods

showsPrec :: Int -> Scan -> ShowS #

show :: Scan -> String #

showList :: [Scan] -> ShowS #

NFData Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Methods

rnf :: Scan -> () #

Eq Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Methods

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

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

Hashable Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

Methods

hashWithSalt :: Int -> Scan -> Int #

hash :: Scan -> Int #

type Rep Scan Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Scan

type Rep Scan = D1 ('MetaData "Scan" "Amazonka.GuardDuty.Types.Scan" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "Scan'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "adminDetectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attachedVolumes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VolumeDetail])))) :*: ((S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fileCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "resourceDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceDetails))))) :*: ((S1 ('MetaSel ('Just "scanEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "scanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scanResultDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScanResultDetails)))) :*: ((S1 ('MetaSel ('Just "scanStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "scanStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScanStatus))) :*: (S1 ('MetaSel ('Just "totalBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "triggerDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TriggerDetails)))))))

newScan :: Scan Source #

Create a value of Scan 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:accountId:Scan', scan_accountId - The ID for the account that belongs to the scan.

$sel:adminDetectorId:Scan', scan_adminDetectorId - The unique detector ID of the administrator account that the request is associated with. Note that this value will be the same as the one used for DetectorId if the account is an administrator.

$sel:attachedVolumes:Scan', scan_attachedVolumes - List of volumes that were attached to the original instance to be scanned.

$sel:detectorId:Scan', scan_detectorId - The unique ID of the detector that the request is associated with.

$sel:failureReason:Scan', scan_failureReason - Represents the reason for FAILED scan status.

$sel:fileCount:Scan', scan_fileCount - Represents the number of files that were scanned.

$sel:resourceDetails:Scan', scan_resourceDetails - Represents the resources that were scanned in the scan entry.

$sel:scanEndTime:Scan', scan_scanEndTime - The timestamp of when the scan was finished.

$sel:scanId:Scan', scan_scanId - The unique scan ID associated with a scan entry.

$sel:scanResultDetails:Scan', scan_scanResultDetails - Represents the result of the scan.

$sel:scanStartTime:Scan', scan_scanStartTime - The timestamp of when the scan was triggered.

$sel:scanStatus:Scan', scan_scanStatus - An enum value representing possible scan statuses.

$sel:totalBytes:Scan', scan_totalBytes - Represents total bytes that were scanned.

$sel:triggerDetails:Scan', scan_triggerDetails - Specifies the reason why the scan was initiated.

scan_accountId :: Lens' Scan (Maybe Text) Source #

The ID for the account that belongs to the scan.

scan_adminDetectorId :: Lens' Scan (Maybe Text) Source #

The unique detector ID of the administrator account that the request is associated with. Note that this value will be the same as the one used for DetectorId if the account is an administrator.

scan_attachedVolumes :: Lens' Scan (Maybe [VolumeDetail]) Source #

List of volumes that were attached to the original instance to be scanned.

scan_detectorId :: Lens' Scan (Maybe Text) Source #

The unique ID of the detector that the request is associated with.

scan_failureReason :: Lens' Scan (Maybe Text) Source #

Represents the reason for FAILED scan status.

scan_fileCount :: Lens' Scan (Maybe Natural) Source #

Represents the number of files that were scanned.

scan_resourceDetails :: Lens' Scan (Maybe ResourceDetails) Source #

Represents the resources that were scanned in the scan entry.

scan_scanEndTime :: Lens' Scan (Maybe UTCTime) Source #

The timestamp of when the scan was finished.

scan_scanId :: Lens' Scan (Maybe Text) Source #

The unique scan ID associated with a scan entry.

scan_scanResultDetails :: Lens' Scan (Maybe ScanResultDetails) Source #

Represents the result of the scan.

scan_scanStartTime :: Lens' Scan (Maybe UTCTime) Source #

The timestamp of when the scan was triggered.

scan_scanStatus :: Lens' Scan (Maybe ScanStatus) Source #

An enum value representing possible scan statuses.

scan_totalBytes :: Lens' Scan (Maybe Natural) Source #

Represents total bytes that were scanned.

scan_triggerDetails :: Lens' Scan (Maybe TriggerDetails) Source #

Specifies the reason why the scan was initiated.