interface ScanDetections
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.ScanDetections |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_ScanDetections |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.ScanDetections |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.ScanDetections |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป ScanDetections |
Type definition for ScanDetections.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as guardduty_events } from '@aws-cdk/mixins-preview/aws-guardduty';
const scanDetections: guardduty_events.DetectorEvents.GuardDutyFinding.ScanDetections = {
highestSeverityThreatDetails: {
count: ['count'],
severity: ['severity'],
threatName: ['threatName'],
},
scannedItemCount: {
files: ['files'],
totalGb: ['totalGb'],
volumes: ['volumes'],
},
threatDetectedByName: {
itemCount: ['itemCount'],
shortened: ['shortened'],
threatNames: [{
filePaths: [{
fileName: ['fileName'],
filePath: ['filePath'],
hash: ['hash'],
volumeArn: ['volumeArn'],
}],
itemCount: ['itemCount'],
name: ['name'],
severity: ['severity'],
}],
uniqueThreatNameCount: ['uniqueThreatNameCount'],
},
threatsDetectedItemCount: {
files: ['files'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| highest | Highest | highestSeverityThreatDetails property. |
| scanned | Scanned | scannedItemCount property. |
| threat | Threat | threatDetectedByName property. |
| threats | Threats | threatsDetectedItemCount property. |
highestSeverityThreatDetails?
Type:
Highest
(optional, default: Do not filter on this field)
highestSeverityThreatDetails property.
Specify an array of string values to match this event if the actual value of highestSeverityThreatDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
scannedItemCount?
Type:
Scanned
(optional, default: Do not filter on this field)
scannedItemCount property.
Specify an array of string values to match this event if the actual value of scannedItemCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
threatDetectedByName?
Type:
Threat
(optional, default: Do not filter on this field)
threatDetectedByName property.
Specify an array of string values to match this event if the actual value of threatDetectedByName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
threatsDetectedItemCount?
Type:
Threats
(optional, default: Do not filter on this field)
threatsDetectedItemCount property.
Specify an array of string values to match this event if the actual value of threatsDetectedItemCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript