Actions, resources, and condition keys for Amazon Detective
Amazon Detective (service prefix: detective) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Detective
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AcceptInvitation |
Write |
|||
|
BatchGetGraphMemberDatasources |
Read |
|||
|
BatchGetMembershipDatasources |
Read |
|||
|
CreateGraph |
Write |
|||
Tagging, Write |
||||
|
CreateMembers |
Write |
|||
|
DeleteGraph |
Write |
|||
|
DeleteMembers |
Write |
|||
|
DescribeOrganizationConfiguration |
Read |
|||
|
DisableOrganizationAdminAccount |
Write |
|||
|
DisassociateMembership |
Write |
|||
|
EnableOrganizationAdminAccount |
Write |
|||
Write |
||||
Write |
||||
Write |
||||
|
GetInvestigation |
Read |
|||
|
GetMembers |
Read |
|||
|
ListDatasourcePackages |
List |
|||
|
ListGraphs |
List |
|||
|
ListIndicators |
List |
|||
|
ListInvestigations |
List |
|||
|
ListInvitations |
List |
|||
|
ListMembers |
List |
|||
|
ListOrganizationAdminAccounts |
List |
|||
|
ListTagsForResource |
List |
|||
|
RejectInvitation |
Write |
|||
|
StartInvestigation |
Write |
|||
|
StartMonitoringMember |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateDatasourcePackages |
Write |
|||
|
UpdateInvestigationState |
Write |
|||
|
UpdateOrganizationConfiguration |
Write |
Actions defined by Amazon Detective
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to accept an invitation to become a member of a behavior graph |
Write |
|||
Grants permission to retrieve the datasource package history for the specified member accounts in a behavior graph managed by this account |
Read |
|||
Grants permission to retrieve the datasource package history of the caller account for the specified graphs |
Read |
|||
Grants permission to create a behavior graph and begin to aggregate security information |
Write |
|||
Grants permission to request the membership of one or more accounts in a behavior graph managed by this account |
Write |
|||
Grants permission to delete a behavior graph and stop aggregating security information |
Write |
|||
Grants permission to remove member accounts from a behavior graph managed by this account |
Write |
|||
Grants permission to view the current configuration related to the Amazon Detective integration with AWS Organizations |
Read |
|||
Grants permission to remove the Amazon Detective delegated administrator account for an organization |
Write |
|||
Grants permission to remove the association of this account with a behavior graph |
Write |
|||
Grants permission to designate the Amazon Detective delegated administrator account for an organization |
Write |
|||
Grants permission to get an investigation's status and metadata |
Read |
|||
Grants permission to retrieve details on specified members of a behavior graph |
Read |
|||
Grants permission to list a graph's datasource package ingest states and timestamps for the most recent state changes in a behavior graph managed by this account |
List |
|||
Grants permission to list behavior graphs managed by this account |
List |
|||
Grants permission to list the indicators of an investigation |
List |
|||
Grants permission to list the investigations of a behavior graph |
List |
|||
Grants permission to retrieve details on the behavior graphs to which this account has been invited to join |
List |
|||
Grants permission to retrieve details on all members of a behavior graph |
List |
|||
Grants permission to view the current Amazon Detective delegated administrator account for an organization |
List |
|||
Grants permission to list the tag values that are assigned to a behavior graph |
List |
|||
Grants permission to reject an invitation to become a member of a behavior graph |
Write |
|||
Grants permission to start investigations |
Write |
|||
Grants permission to start data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED |
Write |
|||
Grants permission to assign tag values to a behavior graph |
Tagging, Write |
|||
Grants permission to remove tag values from a behavior graph |
Tagging, Write |
|||
Grants permission to enable or disable datasource package(s) in a behavior graph managed by this account |
Write |
|||
Grants permission to update an investigation's state and metadata |
Write |
|||
Grants permission to update the current configuration related to the Amazon Detective integration with AWS Organizations |
Write |
Permission-only actions for Amazon Detective
The following actions are defined by Amazon Detective but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to retrieve a behavior graph's eligibility for a free trial period |
Read |
|||
Grants permission to retrieve the data ingestion state of a behavior graph |
Read |
|||
Grants permission to retrieve information about Amazon Detective's pricing |
Read |
|||
Grants permission to list usage information of a behavior graph |
Read |
|||
Grants permission to invoke Detective's Assistant |
Read |
|||
Grants permission to retrieve high volume entities whose relationships cannot be stored by Detective |
List |
|||
Grants permission to search the data stored in a behavior graph |
Read |
Resource types defined by Amazon Detective
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:detective:${Region}:${Account}:graph:${ResourceId} |
Condition keys for Amazon Detective
Amazon Detective defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by specifying the tags that are passed in the request |
String |
|
Filters access by specifying the tags associated with the resource |
String |
|
Filters access by specifying the tag keys that are passed in the request |
ArrayOfString |