AWS IAM Roles Anywhere AWS-rolesanywhere

3 operations, identified by eventName in the audit log.

eventNameDescription
_catch_allCatch-all entry for AWS-rolesanywhere rules that match the service but not a specific eventName.
CreateProfileCreates a profile in IAM Roles Anywhere that defines which roles external workloads may assume and under what conditions.
CreateTrustAnchorCreates a trust anchor to establish trust between IAM Roles Anywhere and a certificate authority (CA).

_catch_all: AWS-rolesanywhere (catch-all)

#
Service
AWS-rolesanywhere

Description

Catch-all entry for AWS-rolesanywhere rules that match the service but not a specific eventName.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

CreateProfile

#
Service
AWS-rolesanywhere

Description

Creates a profile in IAM Roles Anywhere that defines which roles external workloads may assume and under what conditions.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqrolesanywhere.amazonaws.com1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Roles Anywhere Profile Creation source low: Detects the creation of a new AWS IAM Roles Anywhere profile. Roles Anywhere allows workloads or external systems to assume IAM roles from outside AWS by authenticating via trusted certificate authorities (trust anchors). Adversaries who have established persistence through a rogue trust anchor may create or modify profiles to link them with highly privileged roles, enabling long-term external access to the AWS environment. This rule identifies successful "CreateProfile" API calls and helps detect potentially unauthorized or risky external access configurations.

CreateTrustAnchor

#
Service
AWS-rolesanywhere

Description

Creates a trust anchor to establish trust between IAM Roles Anywhere and a certificate authority (CA).

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqrolesanywhere.amazonaws.com1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Roles Anywhere Trust Anchor Created with External CA source medium: Detects the creation of an AWS IAM Roles Anywhere Trust Anchor that uses an external certificate authority (CA) rather than an AWS-managed Certificate Manager Private CA (ACM PCA). While Roles Anywhere enables secure, short-term credential issuance for workloads outside AWS, adversaries can exploit this feature by registering their own external CA as a trusted root. This allows them to generate valid client certificates that persistently authenticate to AWS roles from any location, even after key rotation or credential revocation events. This rule helps detect persistence or unauthorized federation attempts by flagging trust anchors configured with non-AWS CAs.