GuardDuty / Client / get_trusted_entity_set

get_trusted_entity_set

GuardDuty.Client.get_trusted_entity_set(**kwargs)

Retrieves the trusted entity set associated with the specified trustedEntitySetId.

See also: AWS API Documentation

Request Syntax

response = client.get_trusted_entity_set(
    DetectorId='string',
    TrustedEntitySetId='string'
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The unique ID of the GuardDuty detector associated with this trusted entity set.

  • TrustedEntitySetId (string) –

    [REQUIRED]

    The unique ID that helps GuardDuty identify the trusted entity set.

Return type:

dict

Returns:

Response Syntax

{
    'Name': 'string',
    'Format': 'TXT'|'STIX'|'OTX_CSV'|'ALIEN_VAULT'|'PROOF_POINT'|'FIRE_EYE',
    'Location': 'string',
    'ExpectedBucketOwner': 'string',
    'Status': 'INACTIVE'|'ACTIVATING'|'ACTIVE'|'DEACTIVATING'|'ERROR'|'DELETE_PENDING'|'DELETED',
    'Tags': {
        'string': 'string'
    },
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1),
    'ErrorDetails': 'string'
}

Response Structure

  • (dict) –

    • Name (string) –

      The name of the threat entity set associated with the specified trustedEntitySetId.

    • Format (string) –

      The format of the file that contains the trusted entity set.

    • Location (string) –

      The URI of the file that contains the trusted entity set.

    • ExpectedBucketOwner (string) –

      The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.

    • Status (string) –

      The status of the associated trusted entity set.

    • Tags (dict) –

      The tags associated with trusted entity set resource.

      • (string) –

        • (string) –

    • CreatedAt (datetime) –

      The timestamp when the associated trusted entity set was created.

    • UpdatedAt (datetime) –

      The timestamp when the associated trusted entity set was updated.

    • ErrorDetails (string) –

      The error details when the status is shown as ERROR.

Exceptions