AWS Security Token Service AWS-sts
9 operations, identified by eventName in the audit log.
| eventName | Description |
|---|---|
| _catch_all | Catch-all entry for AWS-sts rules that match the service but not a specific eventName. |
| AssumeRole | Returns temporary security credentials for an IAM role that the caller is authorized to assume. |
| AssumeRoleWithSAML | Returns temporary security credentials for users authenticated via a SAML 2.0 assertion. |
| AssumeRoleWithWebIdentity | Returns temporary security credentials for users authenticated via a web identity token, such as an OIDC provider. |
| AssumeRoot | Returns temporary credentials to perform privileged actions on a member account in an AWS organization using the root user context. |
| GetCallerIdentity | Returns details about the IAM user or role whose credentials are used to call the operation. |
| GetFederationToken | Returns temporary credentials for a federated user, scoped by the caller-supplied policy. |
| GetSessionToken | Returns temporary credentials for an IAM user, optionally requiring MFA authentication. |
| UpdateSAMLProvider | Updates the metadata document for an existing SAML provider resource in IAM. |
_catch_all: AWS-sts (catch-all)
#Description
Catch-all entry for AWS-sts rules that match the service but not a specific eventName.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
AssumeRole
#Description
Returns temporary security credentials for an IAM role that the caller is authorized to assume.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | sts.amazonaws.com | 4 rules | elastic |
event.outcome | eq | success | 4 rules | elastic |
EventType | eq | AssumeRole | 3 rules | elastic |
aws::userIdentity.type | eq | AWSService | 1 rule | elastic, panther |
aws::userIdentity.type | eq | IAMUser | 1 rule | elastic, panther, sigma |
Detection Rules #
View all rules referencing this event →Elastic #
Show 1 more (4 total)
AssumeRoleWithSAML
#Description
Returns temporary security credentials for users authenticated via a SAML 2.0 assertion.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | sts.amazonaws.com | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
AssumeRoleWithWebIdentity
#Description
Returns temporary security credentials for users authenticated via a web identity token, such as an OIDC provider.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | sts.amazonaws.com | 2 rules | elastic |
EventType | eq | AssumeRoleWithWebIdentity | 1 rule | elastic |
source.as.organization.name | is_not_null | | 1 rule | elastic |
user | starts_with | system\:serviceaccount\: | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
AssumeRoleWithWebIdentity where the caller identity is a Kubernetes service account and the source autonomous system organization is present but not Amazon.com, Inc. EKS workloads that obtain IAM credentials via IAM Roles for Service Accounts (IRSA) normally reach STS from AWS-managed or AWS-associated networks; the same identity from a clearly external ASN can indicate a stolen or misused projected service-account token being exchanged for IAM credentials off-cluster.
AssumeRoot
#Description
Returns temporary credentials to perform privileged actions on a member account in an AWS organization using the root user context.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | sts.amazonaws.com | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
GetCallerIdentity
#Description
Returns details about the IAM user or role whose credentials are used to call the operation.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
EventType | eq | GetCallerIdentity | 2 rules | elastic |
Provider_Name | eq | sts.amazonaws.com | 2 rules | elastic |
aws::eventName | eq | GetCallerIdentity | 1 rule | kusto, panther, sigma |
aws::eventSource | eq | sts.amazonaws.com | 1 rule | panther, sigma |
aws::userIdentity.type | eq | AssumedRole | 1 rule | elastic, kusto, panther, sigma |
source.as.organization.name | is_not_null | | 1 rule | elastic |
user.id | contains | \:i- | 1 rule | elastic |
userAgent | contains | trufflehog | 1 rule | panther, sigma |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
GetFederationToken
#Description
Returns temporary credentials for a federated user, scoped by the caller-supplied policy.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
EventType | eq | GetFederationToken | 2 rules | elastic |
Provider_Name | eq | sts.amazonaws.com | 2 rules | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
GetSessionToken
#Description
Returns temporary credentials for an IAM user, optionally requiring MFA authentication.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description 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.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | sts.amazonaws.com | 1 rule | elastic |
aws::eventName | eq | GetSessionToken | 1 rule | panther, sigma |
aws::eventSource | eq | sts.amazonaws.com | 1 rule | panther, sigma |
aws::userIdentity.type | eq | IAMUser | 1 rule | elastic, panther, sigma |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
YARA-L #
UpdateSAMLProvider
#Description
Updates the metadata document for an existing SAML provider resource in IAM.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |