Data Source: oci_apiaccesscontrol_privileged_api_request
This data source provides details about a specific Privileged Api Request resource in Oracle Cloud Infrastructure Apiaccesscontrol service.
Gets information about a PrivilegedApiRequest.
Example Usage
data "oci_apiaccesscontrol_privileged_api_request" "test_privileged_api_request" {
#Required
privileged_api_request_id = oci_apiaccesscontrol_privileged_api_request.test_privileged_api_request.id
}
Argument Reference
The following arguments are supported:
privileged_api_request_id
- (Required) unique PrivilegedApiRequest identifier
Attributes Reference
The following attributes are exported:
approver_details
- Contains the approver details who have approved the privilegedApi Request during the initial request.approval_action
- The action done by the approver.approval_comment
- Comment specified by the approver of the request.approver_id
- The userId of the approver.time_approved_for_access
- Time for when the privilegedApi request should start that is authorized by the customer in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’time_of_authorization
- Time when the privilegedApi request was authorized by the customer in RFC 3339 timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
closure_comment
- The comment entered by the operator while closing the request.compartment_id
- The OCID of the compartment that contains the access request.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- Name of the privilegedApi control. The name must be unique.duration_in_hrs
- Duration in hours for which access is sought on the target resource.entity_type
- entityType of resource for which the AccessRequest is applicablefreeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the privilegedApi request.lifecycle_details
- more in detail about the lifeCycleState.notification_topic_id
- The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this privileged api request.number_of_approvers_required
- Number of approvers required to approve an privilegedApi request.privileged_api_control_id
- The OCID of the privilegedApi control governing the target resource.privileged_api_control_name
- Name of the privilegedApi control governing the target resource.privileged_operation_list
- List of api names, attributes for which approval is sought by the user.api_name
- name of the api which needs to be protected.attribute_names
- list of attributes belonging to the above api which needs to be protected.
reason_detail
- Reason in Detail for which the operator is requesting access on the target resource.reason_summary
- Summary comment by the operator creating the access request.request_id
- This is an automatic identifier generated by the system which is easier for human comprehension.requested_by
- List of Users who has created this privilegedApiRequest.resource_id
- The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.resource_name
- resourceName for which the PrivilegedApiRequest is applicableresource_type
- resourceType for which the AccessRequest is applicableseverity
- Priority assigned to the access request by the operatorstate
- The current state of the PrivilegedApiRequest.state_details
- A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.sub_resource_name_list
- The subresource names requested for approval.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
ticket_numbers
- A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.time_created
- Time when the privilegedApi request was created in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’time_requested_for_future_access
- Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’time_updated
- Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’