get-findings
Description
Describes Amazon GuardDuty findings specified by finding IDs.
See also: AWS API Documentation
Synopsis
get-findings
--detector-id <value>
--finding-ids <value>
[--sort-criteria <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
Options
--detector-id (string)
The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.
--finding-ids (list)
The IDs of the findings that you want to retrieve.
(string)
Syntax:
"string" "string" ...
--sort-criteria (structure)
Represents the criteria used for sorting findings.
AttributeName -> (string)
accountId , that sorts the findings.OrderBy -> (string)
Shorthand Syntax:
AttributeName=string,OrderBy=string
JSON Syntax:
{
"AttributeName": "string",
"OrderBy": "ASC"|"DESC"
}
--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
Global Options
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
- json
- text
- table
- yaml
- yaml-stream
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
- on
- off
- auto
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
- base64
- raw-in-base64-out
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
Examples
Note
To use the following examples, you must have the AWS CLI installed and configured. See the Getting started guide in the AWS CLI User Guide for more information.
Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See Using quotation marks with strings in the AWS CLI User Guide .
Example 1: To retrieve the details of a specific finding
The following get-findings example retrieves the full JSON finding details of the specified finding.
aws guardduty get-findings \
--detector-id 12abc34d567e8fa901bc2d34eexample \
--finding-id 1ab92989eaf0e742df4a014d5example
Output:
{
"Findings": [
{
"Resource": {
"ResourceType": "AccessKey",
"AccessKeyDetails": {
"UserName": "testuser",
"UserType": "IAMUser",
"PrincipalId": "AIDACKCEVSQ6C2EXAMPLE",
"AccessKeyId": "ASIASZ4SI7REEEXAMPLE"
}
},
"Description": "APIs commonly used to discover the users, groups, policies and permissions in an account, was invoked by IAM principal testuser under unusual circumstances. Such activity is not typically seen from this principal.",
"Service": {
"Count": 5,
"Archived": false,
"ServiceName": "guardduty",
"EventFirstSeen": "2020-05-26T22:02:24Z",
"ResourceRole": "TARGET",
"EventLastSeen": "2020-05-26T22:33:55Z",
"DetectorId": "d4b040365221be2b54a6264dcexample",
"Action": {
"ActionType": "AWS_API_CALL",
"AwsApiCallAction": {
"RemoteIpDetails": {
"GeoLocation": {
"Lat": 51.5164,
"Lon": -0.093
},
"City": {
"CityName": "London"
},
"IpAddressV4": "52.94.36.7",
"Organization": {
"Org": "Amazon.com",
"Isp": "Amazon.com",
"Asn": "16509",
"AsnOrg": "AMAZON-02"
},
"Country": {
"CountryName": "United Kingdom"
}
},
"Api": "ListPolicyVersions",
"ServiceName": "iam.amazonaws.com",
"CallerType": "Remote IP"
}
}
},
"Title": "Unusual user permission reconnaissance activity by testuser.",
"Type": "Recon:IAMUser/UserPermissions",
"Region": "us-east-1",
"Partition": "aws",
"Arn": "arn:aws:guardduty:us-east-1:111122223333:detector/d4b040365221be2b54a6264dcexample/finding/1ab92989eaf0e742df4a014d5example",
"UpdatedAt": "2020-05-26T22:55:21.703Z",
"SchemaVersion": "2.0",
"Severity": 5,
"Id": "1ab92989eaf0e742df4a014d5example",
"CreatedAt": "2020-05-26T22:21:48.385Z",
"AccountId": "111122223333"
}
]
}
For more information, see Findings in the GuardDuty User Guide.
Output
Findings -> (list)
A list of findings.
(structure)
Contains information about the finding that is generated when abnormal or suspicious activity is detected.
AccountId -> (string)
Arn -> (string)
Confidence -> (double)
CreatedAt -> (string)
Description -> (string)
Id -> (string)
Partition -> (string)
Region -> (string)
Resource -> (structure)
Contains information about the Amazon Web Services resource associated with the activity that prompted GuardDuty to generate a finding.
AccessKeyDetails -> (structure)
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
AccessKeyId -> (string)
PrincipalId -> (string)
UserName -> (string)
UserType -> (string)
S3BucketDetails -> (list)
Contains information on the S3 bucket.
(structure)
Contains information on the S3 bucket.
Arn -> (string)
Name -> (string)
Type -> (string)
CreatedAt -> (timestamp)
Owner -> (structure)
The owner of the S3 bucket.
Id -> (string)
Tags -> (list)
All tags attached to the S3 bucket
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
DefaultServerSideEncryption -> (structure)
Describes the server side encryption method used in the S3 bucket.
EncryptionType -> (string)
KmsMasterKeyArn -> (string)
EncryptionType is aws:kms .PublicAccess -> (structure)
Describes the public access policies that apply to the S3 bucket.
PermissionConfiguration -> (structure)
Contains information about how permissions are configured for the S3 bucket.
BucketLevelPermissions -> (structure)
Contains information about the bucket level permissions for the S3 bucket.
AccessControlList -> (structure)
Contains information on how Access Control Policies are applied to the bucket.
AllowsPublicReadAccess -> (boolean)
AllowsPublicWriteAccess -> (boolean)
BucketPolicy -> (structure)
Contains information on the bucket policies for the S3 bucket.
AllowsPublicReadAccess -> (boolean)
AllowsPublicWriteAccess -> (boolean)
BlockPublicAccess -> (structure)
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
IgnorePublicAcls -> (boolean)
IgnorePublicAcls .RestrictPublicBuckets -> (boolean)
RestrictPublicBuckets .BlockPublicAcls -> (boolean)
BlockPublicAcls .BlockPublicPolicy -> (boolean)
BlockPublicPolicy .AccountLevelPermissions -> (structure)
Contains information about the account level permissions on the S3 bucket.
BlockPublicAccess -> (structure)
Describes the S3 Block Public Access settings of the bucket’s parent account.
IgnorePublicAcls -> (boolean)
IgnorePublicAcls .RestrictPublicBuckets -> (boolean)
RestrictPublicBuckets .BlockPublicAcls -> (boolean)
BlockPublicAcls .BlockPublicPolicy -> (boolean)
BlockPublicPolicy .EffectivePermission -> (string)
S3ObjectDetails -> (list)
Information about the S3 object that was scanned.
(structure)
Information about the S3 object that was scanned
ObjectArn -> (string)
Key -> (string)
ETag -> (string)
Hash -> (string)
VersionId -> (string)
InstanceDetails -> (structure)
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
AvailabilityZone -> (string)
IamInstanceProfile -> (structure)
The profile information of the EC2 instance.
Arn -> (string)
Id -> (string)
ImageDescription -> (string)
ImageId -> (string)
InstanceId -> (string)
InstanceState -> (string)
InstanceType -> (string)
OutpostArn -> (string)
LaunchTime -> (string)
NetworkInterfaces -> (list)
The elastic network interface information of the EC2 instance.
(structure)
Contains information about the elastic network interface of the EC2 instance.
Ipv6Addresses -> (list)
A list of IPv6 addresses for the EC2 instance.
(string)
NetworkInterfaceId -> (string)
PrivateDnsName -> (string)
PrivateIpAddress -> (string)
PrivateIpAddresses -> (list)
Other private IP address information of the EC2 instance.
(structure)
Contains other private IP address information of the EC2 instance.
PrivateDnsName -> (string)
PrivateIpAddress -> (string)
PublicDnsName -> (string)
PublicIp -> (string)
SecurityGroups -> (list)
The security groups associated with the EC2 instance.
(structure)
Contains information about the security groups associated with the EC2 instance.
GroupId -> (string)
GroupName -> (string)
SubnetId -> (string)
VpcId -> (string)
Platform -> (string)
ProductCodes -> (list)
The product code of the EC2 instance.
(structure)
Contains information about the product code for the EC2 instance.
Code -> (string)
ProductType -> (string)
Tags -> (list)
The tags of the EC2 instance.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
EksClusterDetails -> (structure)
Details about the EKS cluster involved in a Kubernetes finding.
Name -> (string)
Arn -> (string)
VpcId -> (string)
Status -> (string)
Tags -> (list)
The EKS cluster tags.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
CreatedAt -> (timestamp)
KubernetesDetails -> (structure)
Details about the Kubernetes user and workload involved in a Kubernetes finding.
KubernetesUserDetails -> (structure)
Details about the Kubernetes user involved in a Kubernetes finding.
Username -> (string)
Uid -> (string)
Groups -> (list)
The groups that include the user who called the Kubernetes API.
(string)
SessionName -> (list)
Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
(string)
ImpersonatedUser -> (structure)
Information about the impersonated user.
Username -> (string)
username that was being impersonated.Groups -> (list)
The group to which the user name belongs.
(string)
KubernetesWorkloadDetails -> (structure)
Details about the Kubernetes workload involved in a Kubernetes finding.
Name -> (string)
Type -> (string)
Uid -> (string)
Namespace -> (string)
HostNetwork -> (boolean)
Containers -> (list)
Containers running as part of the Kubernetes workload.
(structure)
Details of a container.
ContainerRuntime -> (string)
Id -> (string)
Name -> (string)
Image -> (string)
ImagePrefix -> (string)
VolumeMounts -> (list)
Container volume mounts.
(structure)
Container volume mount.
Name -> (string)
MountPath -> (string)
SecurityContext -> (structure)
Container security context.
Privileged -> (boolean)
AllowPrivilegeEscalation -> (boolean)
Volumes -> (list)
Volumes used by the Kubernetes workload.
(structure)
Volume used by the Kubernetes workload.
Name -> (string)
HostPath -> (structure)
Represents a pre-existing file or directory on the host machine that the volume maps to.
Path -> (string)
ServiceAccountName -> (string)
HostIPC -> (boolean)
HostPID -> (boolean)
ResourceType -> (string)
EbsVolumeDetails -> (structure)
Contains list of scanned and skipped EBS volumes with details.
ScannedVolumeDetails -> (list)
List of EBS volumes that were scanned.
(structure)
Contains EBS volume details.
VolumeArn -> (string)
VolumeType -> (string)
DeviceName -> (string)
VolumeSizeInGB -> (integer)
EncryptionType -> (string)
SnapshotArn -> (string)
KmsKeyArn -> (string)
SkippedVolumeDetails -> (list)
List of EBS volumes that were skipped from the malware scan.
(structure)
Contains EBS volume details.
VolumeArn -> (string)
VolumeType -> (string)
DeviceName -> (string)
VolumeSizeInGB -> (integer)
EncryptionType -> (string)
SnapshotArn -> (string)
KmsKeyArn -> (string)
EcsClusterDetails -> (structure)
Contains information about the details of the ECS Cluster.
Name -> (string)
Arn -> (string)
Status -> (string)
ActiveServicesCount -> (integer)
RegisteredContainerInstancesCount -> (integer)
RunningTasksCount -> (integer)
Tags -> (list)
The tags of the ECS Cluster.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
TaskDetails -> (structure)
Contains information about the details of the ECS Task.
Arn -> (string)
DefinitionArn -> (string)
Version -> (string)
TaskCreatedAt -> (timestamp)
StartedAt -> (timestamp)
StartedBy -> (string)
Tags -> (list)
The tags of the ECS Task.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
Volumes -> (list)
The list of data volume definitions for the task.
(structure)
Volume used by the Kubernetes workload.
Name -> (string)
HostPath -> (structure)
Represents a pre-existing file or directory on the host machine that the volume maps to.
Path -> (string)
Containers -> (list)
The containers that’s associated with the task.
(structure)
Details of a container.
ContainerRuntime -> (string)
Id -> (string)
Name -> (string)
Image -> (string)
ImagePrefix -> (string)
VolumeMounts -> (list)
Container volume mounts.
(structure)
Container volume mount.
Name -> (string)
MountPath -> (string)
SecurityContext -> (structure)
Container security context.
Privileged -> (boolean)
AllowPrivilegeEscalation -> (boolean)
Group -> (string)
LaunchType -> (string)
Fargate and EC2 .ContainerDetails -> (structure)
Details of a container.
ContainerRuntime -> (string)
Id -> (string)
Name -> (string)
Image -> (string)
ImagePrefix -> (string)
VolumeMounts -> (list)
Container volume mounts.
(structure)
Container volume mount.
Name -> (string)
MountPath -> (string)
SecurityContext -> (structure)
Container security context.
Privileged -> (boolean)
AllowPrivilegeEscalation -> (boolean)
RdsDbInstanceDetails -> (structure)
Contains information about the database instance to which an anomalous login attempt was made.
DbInstanceIdentifier -> (string)
Engine -> (string)
EngineVersion -> (string)
DbClusterIdentifier -> (string)
DbInstanceArn -> (string)
Tags -> (list)
Information about the tag key-value pairs.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
RdsLimitlessDbDetails -> (structure)
Contains information about the RDS Limitless database that was involved in a GuardDuty finding.
DbShardGroupIdentifier -> (string)
DbShardGroupResourceId -> (string)
DbShardGroupArn -> (string)
Engine -> (string)
EngineVersion -> (string)
DbClusterIdentifier -> (string)
Tags -> (list)
Information about the tag key-value pair.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
RdsDbUserDetails -> (structure)
Contains information about the user details through which anomalous login attempt was made.
User -> (string)
Application -> (string)
Database -> (string)
Ssl -> (string)
AuthMethod -> (string)
LambdaDetails -> (structure)
Contains information about the Lambda function that was involved in a finding.
FunctionArn -> (string)
FunctionName -> (string)
Description -> (string)
LastModifiedAt -> (timestamp)
(2023-03-22T19:37:20.168Z) .RevisionId -> (string)
FunctionVersion -> (string)
Role -> (string)
VpcConfig -> (structure)
Amazon Virtual Private Cloud configuration details associated with your Lambda function.
SubnetIds -> (list)
The identifiers of the subnets that are associated with your Lambda function.
(string)
VpcId -> (string)
SecurityGroups -> (list)
The identifier of the security group attached to the Lambda function.
(structure)
Contains information about the security groups associated with the EC2 instance.
GroupId -> (string)
GroupName -> (string)
Tags -> (list)
A list of tags attached to this resource, listed in the format of key :value pair.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
SchemaVersion -> (string)
Service -> (structure)
Contains additional information about the generated finding.
Action -> (structure)
Information about the activity that is described in a finding.
ActionType -> (string)
AwsApiCallAction -> (structure)
Information about the AWS_API_CALL action described in this finding.
Api -> (string)
CallerType -> (string)
DomainDetails -> (structure)
The domain information for the Amazon Web Services API call.
Domain -> (string)
ErrorCode -> (string)
UserAgent -> (string)
RemoteIpDetails -> (structure)
The remote IP information of the connection that initiated the Amazon Web Services API call.
City -> (structure)
The city information of the remote IP address.
CityName -> (string)
Country -> (structure)
The country code of the remote IP address.
CountryCode -> (string)
CountryName -> (string)
GeoLocation -> (structure)
The location information of the remote IP address.
Lat -> (double)
Lon -> (double)
IpAddressV4 -> (string)
IpAddressV6 -> (string)
Organization -> (structure)
The ISP organization information of the remote IP address.
Asn -> (string)
AsnOrg -> (string)
Isp -> (string)
Org -> (string)
ServiceName -> (string)
RemoteAccountDetails -> (structure)
The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.
AccountId -> (string)
Affiliated -> (boolean)
True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment.AffectedResources -> (map)
The details of the Amazon Web Services account that made the API call. This field identifies the resources that were affected by this API call.
key -> (string)
value -> (string)
DnsRequestAction -> (structure)
Information about the DNS_REQUEST action described in this finding.
Domain -> (string)
Protocol -> (string)
Blocked -> (boolean)
DomainWithSuffix -> (string)
NetworkConnectionAction -> (structure)
Information about the NETWORK_CONNECTION action described in this finding.
Blocked -> (boolean)
ConnectionDirection -> (string)
LocalPortDetails -> (structure)
The local port information of the connection.
Port -> (integer)
PortName -> (string)
Protocol -> (string)
LocalIpDetails -> (structure)
The local IP information of the connection.
IpAddressV4 -> (string)
IpAddressV6 -> (string)
LocalNetworkInterface -> (string)
RemoteIpDetails -> (structure)
The remote IP information of the connection.
City -> (structure)
The city information of the remote IP address.
CityName -> (string)
Country -> (structure)
The country code of the remote IP address.
CountryCode -> (string)
CountryName -> (string)
GeoLocation -> (structure)
The location information of the remote IP address.
Lat -> (double)
Lon -> (double)
IpAddressV4 -> (string)
IpAddressV6 -> (string)
Organization -> (structure)
The ISP organization information of the remote IP address.
Asn -> (string)
AsnOrg -> (string)
Isp -> (string)
Org -> (string)
RemotePortDetails -> (structure)
The remote port information of the connection.
Port -> (integer)
PortName -> (string)
PortProbeAction -> (structure)
Information about the PORT_PROBE action described in this finding.
Blocked -> (boolean)
PortProbeDetails -> (list)
A list of objects related to port probe details.
(structure)
Contains information about the port probe details.
LocalPortDetails -> (structure)
The local port information of the connection.
Port -> (integer)
PortName -> (string)
LocalIpDetails -> (structure)
The local IP information of the connection.
IpAddressV4 -> (string)
IpAddressV6 -> (string)
RemoteIpDetails -> (structure)
The remote IP information of the connection.
City -> (structure)
The city information of the remote IP address.
CityName -> (string)
Country -> (structure)
The country code of the remote IP address.
CountryCode -> (string)
CountryName -> (string)
GeoLocation -> (structure)
The location information of the remote IP address.
Lat -> (double)
Lon -> (double)
IpAddressV4 -> (string)
IpAddressV6 -> (string)
Organization -> (structure)
The ISP organization information of the remote IP address.
Asn -> (string)
AsnOrg -> (string)
Isp -> (string)
Org -> (string)
KubernetesApiCallAction -> (structure)
Information about the Kubernetes API call action described in this finding.
RequestUri -> (string)
Verb -> (string)
SourceIps -> (list)
The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint.
(string)
UserAgent -> (string)
RemoteIpDetails -> (structure)
Contains information about the remote IP address of the connection.
City -> (structure)
The city information of the remote IP address.
CityName -> (string)
Country -> (structure)
The country code of the remote IP address.
CountryCode -> (string)
CountryName -> (string)
GeoLocation -> (structure)
The location information of the remote IP address.
Lat -> (double)
Lon -> (double)
IpAddressV4 -> (string)
IpAddressV6 -> (string)
Organization -> (structure)
The ISP organization information of the remote IP address.
Asn -> (string)
AsnOrg -> (string)
Isp -> (string)
Org -> (string)
StatusCode -> (integer)
Parameters -> (string)
Resource -> (string)
Subresource -> (string)
Namespace -> (string)
ResourceName -> (string)
RdsLoginAttemptAction -> (structure)
Information about RDS_LOGIN_ATTEMPT action described in this finding.
RemoteIpDetails -> (structure)
Contains information about the remote IP address of the connection.
City -> (structure)
The city information of the remote IP address.
CityName -> (string)
Country -> (structure)
The country code of the remote IP address.
CountryCode -> (string)
CountryName -> (string)
GeoLocation -> (structure)
The location information of the remote IP address.
Lat -> (double)
Lon -> (double)
IpAddressV4 -> (string)
IpAddressV6 -> (string)
Organization -> (structure)
The ISP organization information of the remote IP address.
Asn -> (string)
AsnOrg -> (string)
Isp -> (string)
Org -> (string)
LoginAttributes -> (list)
Indicates the login attributes used in the login attempt.
(structure)
Information about the login attempts.
User -> (string)
Application -> (string)
FailedLoginAttempts -> (integer)
SuccessfulLoginAttempts -> (integer)
KubernetesPermissionCheckedDetails -> (structure)
Information whether the user has the permission to use a specific Kubernetes API.
Verb -> (string)
CreatePod API, the verb component will be Create .Resource -> (string)
Namespace -> (string)
Allowed -> (boolean)
KubernetesRoleBindingDetails -> (structure)
Information about the role binding that grants the permission defined in a Kubernetes role.
Kind -> (string)
RoleBinding .Name -> (string)
RoleBinding .Uid -> (string)
RoleRefName -> (string)
Role or ClusterRole that you want to bind to.RoleRefKind -> (string)
Role or ClusterRole .KubernetesRoleDetails -> (structure)
Information about the Kubernetes role name and role type.
Kind -> (string)
kind will be Role .Name -> (string)
Uid -> (string)
Evidence -> (structure)
An evidence object associated with the service.
ThreatIntelligenceDetails -> (list)
A list of threat intelligence details related to the evidence.
(structure)
An instance of a threat intelligence detail that constitutes evidence for the finding.
ThreatListName -> (string)
ThreatNames -> (list)
A list of names of the threats in the threat intelligence list that triggered the finding.
(string)
ThreatFileSha256 -> (string)
Archived -> (boolean)
Count -> (integer)
DetectorId -> (string)
EventFirstSeen -> (string)
EventLastSeen -> (string)
ResourceRole -> (string)
ServiceName -> (string)
UserFeedback -> (string)
AdditionalInfo -> (structure)
Contains additional information about the generated finding.
Value -> (string)
Type -> (string)
FeatureName -> (string)
EbsVolumeScanDetails -> (structure)
Returns details from the malware scan that created a finding.
ScanId -> (string)
ScanStartedAt -> (timestamp)
ScanCompletedAt -> (timestamp)
TriggerFindingId -> (string)
Sources -> (list)
Contains list of threat intelligence sources used to detect threats.
(string)
ScanDetections -> (structure)
Contains a complete view providing malware scan result details.
ScannedItemCount -> (structure)
Total number of scanned files.
TotalGb -> (integer)
Files -> (integer)
Volumes -> (integer)
ThreatsDetectedItemCount -> (structure)
Total number of infected files.
Files -> (integer)
HighestSeverityThreatDetails -> (structure)
Details of the highest severity threat detected during malware scan and number of infected files.
Severity -> (string)
ThreatName -> (string)
Count -> (integer)
ThreatDetectedByName -> (structure)
Contains details about identified threats organized by threat name.
ItemCount -> (integer)
UniqueThreatNameCount -> (integer)
Shortened -> (boolean)
ThreatNames -> (list)
List of identified threats with details, organized by threat name.
(structure)
Contains files infected with the given threat providing details of malware name and severity.
Name -> (string)
Severity -> (string)
ItemCount -> (integer)
FilePaths -> (list)
List of infected files in EBS volume with details.
(structure)
Contains details of infected file including name, file path and hash.
FilePath -> (string)
VolumeArn -> (string)
Hash -> (string)
FileName -> (string)
ScanType -> (string)
RuntimeDetails -> (structure)
Information about the process and any required context values for a specific finding
Process -> (structure)
Information about the observed process.
Name -> (string)
ExecutablePath -> (string)
ExecutableSha256 -> (string)
SHA256 hash of the process executable.NamespacePid -> (integer)
Pwd -> (string)
Pid -> (integer)
StartTime -> (timestamp)
Uuid -> (string)
ParentUuid -> (string)
User -> (string)
UserId -> (integer)
Euid -> (integer)
Lineage -> (list)
Information about the process’s lineage.
(structure)
Information about the runtime process details.
StartTime -> (timestamp)
NamespacePid -> (integer)
UserId -> (integer)
Name -> (string)
Pid -> (integer)
Uuid -> (string)
ExecutablePath -> (string)
Euid -> (integer)
ParentUuid -> (string)
Context -> (structure)
Additional information about the suspicious activity.
ModifyingProcess -> (structure)
Information about the process that modified the current process. This is available for multiple finding types.
Name -> (string)
ExecutablePath -> (string)
ExecutableSha256 -> (string)
SHA256 hash of the process executable.NamespacePid -> (integer)
Pwd -> (string)
Pid -> (integer)
StartTime -> (timestamp)
Uuid -> (string)
ParentUuid -> (string)
User -> (string)
UserId -> (integer)
Euid -> (integer)
Lineage -> (list)
Information about the process’s lineage.
(structure)
Information about the runtime process details.
StartTime -> (timestamp)
NamespacePid -> (integer)
UserId -> (integer)
Name -> (string)
Pid -> (integer)
Uuid -> (string)
ExecutablePath -> (string)
Euid -> (integer)
ParentUuid -> (string)
ModifiedAt -> (timestamp)
ScriptPath -> (string)
LibraryPath -> (string)
LdPreloadValue -> (string)
SocketPath -> (string)
RuncBinaryPath -> (string)
runc implementation.ReleaseAgentPath -> (string)
MountSource -> (string)
MountTarget -> (string)
FileSystemType -> (string)
Flags -> (list)
Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.
(string)
ModuleName -> (string)
ModuleFilePath -> (string)
ModuleSha256 -> (string)
SHA256 hash of the module.ShellHistoryFilePath -> (string)
TargetProcess -> (structure)
Information about the process that had its memory overwritten by the current process.
Name -> (string)
ExecutablePath -> (string)
ExecutableSha256 -> (string)
SHA256 hash of the process executable.NamespacePid -> (integer)
Pwd -> (string)
Pid -> (integer)
StartTime -> (timestamp)
Uuid -> (string)
ParentUuid -> (string)
User -> (string)
UserId -> (integer)
Euid -> (integer)
Lineage -> (list)
Information about the process’s lineage.
(structure)
Information about the runtime process details.
StartTime -> (timestamp)
NamespacePid -> (integer)
UserId -> (integer)
Name -> (string)
Pid -> (integer)
Uuid -> (string)
ExecutablePath -> (string)
Euid -> (integer)
ParentUuid -> (string)
AddressFamily -> (string)
AF_INET is used for IP version of 4 protocol.IanaProtocolNumber -> (integer)
AF_INET only has the IP protocol.MemoryRegions -> (list)
Specifies the Region of a process’s address space such as stack and heap.
(string)
ToolName -> (string)
ToolCategory -> (string)
ServiceName -> (string)
CommandLineExample -> (string)
ThreatFilePath -> (string)
Detection -> (structure)
Contains information about the detected unusual behavior.
Anomaly -> (structure)
The details about the anomalous activity that caused GuardDuty to generate the finding.
Profiles -> (map)
Information about the types of profiles.
key -> (string)
value -> (map)
key -> (string)
value -> (list)
(structure)
Contains information about the unusual anomalies.
ProfileType -> (string)
ProfileSubtype -> (string)
Observations -> (structure)
The recorded value.
Text -> (list)
The text that was unusual.
(string)
Unusual -> (structure)
Information about the behavior of the anomalies.
Behavior -> (map)
The behavior of the anomalous activity that caused GuardDuty to generate the finding.
key -> (string)
value -> (map)
key -> (string)
value -> (structure)
Contains information about the unusual anomalies.
ProfileType -> (string)
ProfileSubtype -> (string)
Observations -> (structure)
The recorded value.
Text -> (list)
The text that was unusual.
(string)
Sequence -> (structure)
The details about the attack sequence.
Uid -> (string)
Description -> (string)
Actors -> (list)
Contains information about the actors involved in the attack sequence.
(structure)
Information about the actors involved in an attack sequence.
Id -> (string)
User -> (structure)
Contains information about the user credentials used by the threat actor.
Name -> (string)
Uid -> (string)
Type -> (string)
CredentialUid -> (string)
Account -> (structure)
Contains information about the Amazon Web Services account.
Uid -> (string)
Name -> (string)
Session -> (structure)
Contains information about the user session where the activity initiated.
Uid -> (string)
MfaStatus -> (string)
Indicates whether or not multi-factor authencation (MFA) was used during authentication.
In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated .
CreatedTime -> (timestamp)
The timestamp for when the session was created.
In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.creationDate .
Issuer -> (string)
Identifier of the session issuer.
In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.sessionIssuer.arn .
Resources -> (list)
Contains information about the resources involved in the attack sequence.
(structure)
Contains information about the Amazon Web Services resource that is associated with the GuardDuty finding.
Uid -> (string)
Name -> (string)
AccountId -> (string)
ResourceType -> (string)
Region -> (string)
Service -> (string)
CloudPartition -> (string)
Tags -> (list)
Contains information about the tags associated with the resource.
(structure)
Contains information about a tag key-value pair.
Key -> (string)
Value -> (string)
Data -> (structure)
Contains information about the Amazon Web Services resource associated with the activity that prompted GuardDuty to generate a finding.
S3Bucket -> (structure)
Contains information about the Amazon S3 bucket.
OwnerId -> (string)
CreatedAt -> (timestamp)
EncryptionType -> (string)
EncryptionKeyArn -> (string)
EffectivePermission -> (string)
PublicReadAccess -> (string)
PublicWriteAccess -> (string)
AccountPublicAccess -> (structure)
Contains information about the public access policies that apply to the Amazon S3 bucket at the account level.
PublicAclAccess -> (string)
PublicPolicyAccess -> (string)
PublicAclIgnoreBehavior -> (string)
PublicBucketRestrictBehavior -> (string)
BucketPublicAccess -> (structure)
Contains information about public access policies that apply to the Amazon S3 bucket.
PublicAclAccess -> (string)
PublicPolicyAccess -> (string)
PublicAclIgnoreBehavior -> (string)
PublicBucketRestrictBehavior -> (string)
S3ObjectUids -> (list)
Represents a list of Amazon S3 object identifiers.
(string)
Ec2Instance -> (structure)
Contains information about the Amazon EC2 instance.
AvailabilityZone -> (string)
ImageDescription -> (string)
InstanceState -> (string)
IamInstanceProfile -> (structure)
Contains information about the EC2 instance profile.
Arn -> (string)
Id -> (string)
InstanceType -> (string)
OutpostArn -> (string)
Platform -> (string)
ProductCodes -> (list)
The product code of the Amazon EC2 instance.
(structure)
Contains information about the product code for the EC2 instance.
Code -> (string)
ProductType -> (string)
Ec2NetworkInterfaceUids -> (list)
The ID of the network interface.
(string)
AccessKey -> (structure)
Contains information about the IAM access key details of a user that involved in the GuardDuty finding.
PrincipalId -> (string)
UserName -> (string)
UserType -> (string)
Ec2NetworkInterface -> (structure)
Contains information about the elastic network interface of the Amazon EC2 instance.
Ipv6Addresses -> (list)
A list of IPv6 addresses for the Amazon EC2 instance.
(string)
PrivateIpAddresses -> (list)
Other private IP address information of the Amazon EC2 instance.
(structure)
Contains other private IP address information of the EC2 instance.
PrivateDnsName -> (string)
PrivateIpAddress -> (string)
PublicIp -> (string)
SecurityGroups -> (list)
The security groups associated with the Amazon EC2 instance.
(structure)
Contains information about the security groups associated with the EC2 instance.
GroupId -> (string)
GroupName -> (string)
SubNetId -> (string)
VpcId -> (string)
S3Object -> (structure)
Contains information about the Amazon S3 object.
ETag -> (string)
Key -> (string)
VersionId -> (string)
Endpoints -> (list)
Contains information about the network endpoints that were used in the attack sequence.
(structure)
Contains information about network endpoints that were observed in the attack sequence.
Id -> (string)
Ip -> (string)
Domain -> (string)
Port -> (integer)
Location -> (structure)
Information about the location of the network endpoint.
City -> (string)
Country -> (string)
Latitude -> (double)
Longitude -> (double)
AutonomousSystem -> (structure)
The Autonomous System (AS) of the network endpoint.
Name -> (string)
Number -> (integer)
Connection -> (structure)
Information about the network connection.
Direction -> (string)
Signals -> (list)
Contains information about the signals involved in the attack sequence.
(structure)
Contains information about the signals involved in the attack sequence.
Uid -> (string)
Type -> (string)
The type of the signal used to identify an attack sequence.
Signals can be GuardDuty findings or activities observed in data sources that GuardDuty monitors. For more information, see Foundational data sources in the Amazon GuardDuty User Guide .
A signal type can be one of the valid values listed in this API. Here are the related descriptions:
-
FINDING- Individually generated GuardDuty finding. -
CLOUD_TRAIL- Activity observed from CloudTrail logs -
S3_DATA_EVENTS- Activity observed from CloudTrail data events for S3. Activities associated with this type will show up only when you have enabled GuardDuty S3 Protection feature in your account. For more information about S3 Protection and steps to enable it, see S3 Protection in the Amazon GuardDuty User Guide .
Description -> (string)
Name -> (string)
FINDING , the signal name is the name of the finding.CreatedAt -> (timestamp)
UpdatedAt -> (timestamp)
FirstSeenAt -> (timestamp)
LastSeenAt -> (timestamp)
Severity -> (double)
Count -> (integer)
ResourceUids -> (list)
Information about the unique identifiers of the resources involved in the signal.
(string)
ActorIds -> (list)
Information about the IDs of the threat actors involved in the signal.
(string)
EndpointIds -> (list)
Information about the endpoint IDs associated with this signal.
(string)
SignalIndicators -> (list)
Contains information about the indicators associated with the signals.
(structure)
Contains information about the indicators that include a set of signals observed in an attack sequence.
Key -> (string)
Values -> (list)
Values associated with each indicator key. For example, if the indicator key is SUSPICIOUS_NETWORK , then the value will be the name of the network. If the indicator key is ATTACK_TACTIC , then the value will be one of the MITRE tactics.
(string)
Title -> (string)
SequenceIndicators -> (list)
Contains information about the indicators observed in the attack sequence.
(structure)
Contains information about the indicators that include a set of signals observed in an attack sequence.
Key -> (string)
Values -> (list)
Values associated with each indicator key. For example, if the indicator key is SUSPICIOUS_NETWORK , then the value will be the name of the network. If the indicator key is ATTACK_TACTIC , then the value will be one of the MITRE tactics.
(string)
Title -> (string)
MalwareScanDetails -> (structure)
Returns details from the malware scan that generated a GuardDuty finding.
Threats -> (list)
Information about the detected threats associated with the generated GuardDuty finding.
(structure)
Information about the detected threats associated with the generated finding.
Name -> (string)
Source -> (string)
ItemPaths -> (list)
Information about the nested item path and hash of the protected resource.
(structure)
Information about the nested item path and hash of the protected resource.
NestedItemPath -> (string)
Hash -> (string)
Severity -> (double)
Title -> (string)
Type -> (string)
UpdatedAt -> (string)
AssociatedAttackSequenceArn -> (string)
© Copyright 2025, Amazon Web Services. Created using Sphinx.