HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/python3/dist-packages/awscli/examples/guardduty/get-findings.rst
**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 <https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings.html>`__ in the GuardDuty User Guide.