oci.user
Oracle Cloud Infrastructure User Resource
- example:
Returns all User resources in the tenancy
policies:
- name: find-all-user-resources
resource: oci.user
Filters
Actions
remove-tag
Remove Tag Action
- example:
Remove the specified tags from the resource. Defined tag needs to be referred as ‘namespace.tagName’ as below in the policy file.
policies:
- name: remove-tag
resource: oci.user
actions:
- type: remove-tag
defined_tags: ['cloud_custodian.environment']
freeform_tags: ['organization', 'team']
update
Update user Action
- example:
Updates the description of the specified user.
Please refer to the Oracle Cloud Infrastructure Python SDK documentation for parameter details to this action https://docs.oracle.com/en-us/iaas/tools/python/latest/api/identity/client/oci.identity.IdentityClient.html#oci.identity.IdentityClient.update_user
policies:
- name: perform-update-user-action
resource: oci.user
actions:
- type: update
defined_tags:
Cloud_Custodian: True
freeform_tags:
Environment: development