Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.OperatorAccessControl.getAccessRequests
Explore with Pulumi AI
This data source provides the list of Access Requests in Oracle Cloud Infrastructure Operator Access Control service.
Lists all access requests in the compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAccessRequests = oci.OperatorAccessControl.getAccessRequests({
compartmentId: compartmentId,
resourceName: accessRequestResourceName,
resourceType: accessRequestResourceType,
state: accessRequestState,
timeEnd: accessRequestTimeEnd,
timeStart: accessRequestTimeStart,
});
import pulumi
import pulumi_oci as oci
test_access_requests = oci.OperatorAccessControl.get_access_requests(compartment_id=compartment_id,
resource_name=access_request_resource_name,
resource_type=access_request_resource_type,
state=access_request_state,
time_end=access_request_time_end,
time_start=access_request_time_start)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/OperatorAccessControl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := OperatorAccessControl.GetAccessRequests(ctx, &operatoraccesscontrol.GetAccessRequestsArgs{
CompartmentId: compartmentId,
ResourceName: pulumi.StringRef(accessRequestResourceName),
ResourceType: pulumi.StringRef(accessRequestResourceType),
State: pulumi.StringRef(accessRequestState),
TimeEnd: pulumi.StringRef(accessRequestTimeEnd),
TimeStart: pulumi.StringRef(accessRequestTimeStart),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAccessRequests = Oci.OperatorAccessControl.GetAccessRequests.Invoke(new()
{
CompartmentId = compartmentId,
ResourceName = accessRequestResourceName,
ResourceType = accessRequestResourceType,
State = accessRequestState,
TimeEnd = accessRequestTimeEnd,
TimeStart = accessRequestTimeStart,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OperatorAccessControl.OperatorAccessControlFunctions;
import com.pulumi.oci.OperatorAccessControl.inputs.GetAccessRequestsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testAccessRequests = OperatorAccessControlFunctions.getAccessRequests(GetAccessRequestsArgs.builder()
.compartmentId(compartmentId)
.resourceName(accessRequestResourceName)
.resourceType(accessRequestResourceType)
.state(accessRequestState)
.timeEnd(accessRequestTimeEnd)
.timeStart(accessRequestTimeStart)
.build());
}
}
variables:
testAccessRequests:
fn::invoke:
Function: oci:OperatorAccessControl:getAccessRequests
Arguments:
compartmentId: ${compartmentId}
resourceName: ${accessRequestResourceName}
resourceType: ${accessRequestResourceType}
state: ${accessRequestState}
timeEnd: ${accessRequestTimeEnd}
timeStart: ${accessRequestTimeStart}
Using getAccessRequests
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAccessRequests(args: GetAccessRequestsArgs, opts?: InvokeOptions): Promise<GetAccessRequestsResult>
function getAccessRequestsOutput(args: GetAccessRequestsOutputArgs, opts?: InvokeOptions): Output<GetAccessRequestsResult>
def get_access_requests(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_operatoraccesscontrol.GetAccessRequestsFilter]] = None,
resource_name: Optional[str] = None,
resource_type: Optional[str] = None,
state: Optional[str] = None,
time_end: Optional[str] = None,
time_start: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessRequestsResult
def get_access_requests_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_operatoraccesscontrol.GetAccessRequestsFilterArgs]]]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
time_end: Optional[pulumi.Input[str]] = None,
time_start: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessRequestsResult]
func GetAccessRequests(ctx *Context, args *GetAccessRequestsArgs, opts ...InvokeOption) (*GetAccessRequestsResult, error)
func GetAccessRequestsOutput(ctx *Context, args *GetAccessRequestsOutputArgs, opts ...InvokeOption) GetAccessRequestsResultOutput
> Note: This function is named GetAccessRequests
in the Go SDK.
public static class GetAccessRequests
{
public static Task<GetAccessRequestsResult> InvokeAsync(GetAccessRequestsArgs args, InvokeOptions? opts = null)
public static Output<GetAccessRequestsResult> Invoke(GetAccessRequestsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccessRequestsResult> getAccessRequests(GetAccessRequestsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OperatorAccessControl/getAccessRequests:getAccessRequests
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
List<Get
Access Requests Filter> - Resource
Name string - A filter to return only resources that match the given ResourceName.
- Resource
Type string - A filter to return only lists of resources that match the entire given service type.
- State string
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- Time
End string - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- Time
Start string - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
[]Get
Access Requests Filter - Resource
Name string - A filter to return only resources that match the given ResourceName.
- Resource
Type string - A filter to return only lists of resources that match the entire given service type.
- State string
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- Time
End string - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- Time
Start string - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- compartment
Id String - The ID of the compartment in which to list resources.
- filters
List<Get
Access Requests Filter> - resource
Name String - A filter to return only resources that match the given ResourceName.
- resource
Type String - A filter to return only lists of resources that match the entire given service type.
- state String
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- time
End String - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- time
Start String - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- compartment
Id string - The ID of the compartment in which to list resources.
- filters
Get
Access Requests Filter[] - resource
Name string - A filter to return only resources that match the given ResourceName.
- resource
Type string - A filter to return only lists of resources that match the entire given service type.
- state string
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- time
End string - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- time
Start string - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- compartment_
id str - The ID of the compartment in which to list resources.
- filters
Sequence[operatoraccesscontrol.
Get Access Requests Filter] - resource_
name str - A filter to return only resources that match the given ResourceName.
- resource_
type str - A filter to return only lists of resources that match the entire given service type.
- state str
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- time_
end str - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- time_
start str - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- compartment
Id String - The ID of the compartment in which to list resources.
- filters List<Property Map>
- resource
Name String - A filter to return only resources that match the given ResourceName.
- resource
Type String - A filter to return only lists of resources that match the entire given service type.
- state String
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- time
End String - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
- time
Start String - Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
getAccessRequests Result
The following output properties are available:
- Access
Request List<GetCollections Access Requests Access Request Collection> - The list of access_request_collection.
- Compartment
Id string - The OCID of the compartment that contains the access request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Access Requests Filter> - Resource
Name string - The name of the target resource.
- Resource
Type string - resourceType for which the AccessRequest is applicable
- State string
- The current state of the AccessRequest.
- Time
End string - Time
Start string
- Access
Request []GetCollections Access Requests Access Request Collection - The list of access_request_collection.
- Compartment
Id string - The OCID of the compartment that contains the access request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Access Requests Filter - Resource
Name string - The name of the target resource.
- Resource
Type string - resourceType for which the AccessRequest is applicable
- State string
- The current state of the AccessRequest.
- Time
End string - Time
Start string
- access
Request List<GetCollections Access Requests Access Request Collection> - The list of access_request_collection.
- compartment
Id String - The OCID of the compartment that contains the access request.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Access Requests Filter> - resource
Name String - The name of the target resource.
- resource
Type String - resourceType for which the AccessRequest is applicable
- state String
- The current state of the AccessRequest.
- time
End String - time
Start String
- access
Request GetCollections Access Requests Access Request Collection[] - The list of access_request_collection.
- compartment
Id string - The OCID of the compartment that contains the access request.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Access Requests Filter[] - resource
Name string - The name of the target resource.
- resource
Type string - resourceType for which the AccessRequest is applicable
- state string
- The current state of the AccessRequest.
- time
End string - time
Start string
- access_
request_ Sequence[operatoraccesscontrol.collections Get Access Requests Access Request Collection] - The list of access_request_collection.
- compartment_
id str - The OCID of the compartment that contains the access request.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[operatoraccesscontrol.
Get Access Requests Filter] - resource_
name str - The name of the target resource.
- resource_
type str - resourceType for which the AccessRequest is applicable
- state str
- The current state of the AccessRequest.
- time_
end str - time_
start str
- access
Request List<Property Map>Collections - The list of access_request_collection.
- compartment
Id String - The OCID of the compartment that contains the access request.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- resource
Name String - The name of the target resource.
- resource
Type String - resourceType for which the AccessRequest is applicable
- state String
- The current state of the AccessRequest.
- time
End String - time
Start String
Supporting Types
GetAccessRequestsAccessRequestCollection
GetAccessRequestsAccessRequestCollectionItem
- Access
Reason stringSummary - Summary comment by the operator creating the access request.
- Action
Requests List<string>Lists - List of operator actions for which approval is sought by the operator user.
- Approver
Comment string - The last recent Comment entered by the approver of the request.
- Approver
Details List<GetAccess Requests Access Request Collection Item Approver Detail> - Contains the user ids who have approved the accessRequest for extension.
- Audit
Types List<string> - Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
- Closure
Comment string - The comment entered by the operator while closing the request.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Duration int
- Duration in hours for which access is sought on the target resource.
- Extend
Duration int - Duration in hours for which extension access is sought on the target resource.
- Extension
Approver List<GetDetails Access Requests Access Request Collection Item Extension Approver Detail> - Contains the user ids who have approved the accessRequest for extension.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Id string
- The OCID of the access request.
- Is
Auto boolApproved - Whether the access request was automatically approved.
- Is
Validate boolAssignment - Whether the access request was requested for Validate Assignment.
- Lifecycle
Details string - more in detail about the lifeCycleState.
- Number
Of intApprovers - Number of approvers who have authorized an access request.
- Number
Of intApprovers Required - Number of approvers required to approve an access request.
- Number
Of intExtension Approvers - Number of approvers who have authorized an access request for extension.
- Opctl
Additional stringMessage - Additional message specific to the access request that can be specified by the approver at the time of approval.
- Opctl
Id string - The OCID of the operator control governing the target resource.
- Opctl
Name string - Name of the Operator control governing the target resource.
- Operator
Id string - A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
- Reason string
- Summary reason for which the operator is requesting access on the target resource.
- Request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- Resource
Id string - 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 string - A filter to return only resources that match the given ResourceName.
- Resource
Type string - A filter to return only lists of resources that match the entire given service type.
- Severity string
- Priority assigned to the access request by the operator
- State string
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- Sub
Resource List<string>Lists - The subresources requested for approval.
- System
Message string - System message that will be displayed to the operator at login to the target resource.
- Time
Of stringCreation - Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringModification - Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringUser Creation - The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Time
Requested stringFor Future Access - Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- User
Id string - The OCID of the user that last modified the access request.
- Workflow
Ids List<string> - The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
- Access
Reason stringSummary - Summary comment by the operator creating the access request.
- Action
Requests []stringLists - List of operator actions for which approval is sought by the operator user.
- Approver
Comment string - The last recent Comment entered by the approver of the request.
- Approver
Details []GetAccess Requests Access Request Collection Item Approver Detail - Contains the user ids who have approved the accessRequest for extension.
- Audit
Types []string - Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
- Closure
Comment string - The comment entered by the operator while closing the request.
- Compartment
Id string - The ID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Duration int
- Duration in hours for which access is sought on the target resource.
- Extend
Duration int - Duration in hours for which extension access is sought on the target resource.
- Extension
Approver []GetDetails Access Requests Access Request Collection Item Extension Approver Detail - Contains the user ids who have approved the accessRequest for extension.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Id string
- The OCID of the access request.
- Is
Auto boolApproved - Whether the access request was automatically approved.
- Is
Validate boolAssignment - Whether the access request was requested for Validate Assignment.
- Lifecycle
Details string - more in detail about the lifeCycleState.
- Number
Of intApprovers - Number of approvers who have authorized an access request.
- Number
Of intApprovers Required - Number of approvers required to approve an access request.
- Number
Of intExtension Approvers - Number of approvers who have authorized an access request for extension.
- Opctl
Additional stringMessage - Additional message specific to the access request that can be specified by the approver at the time of approval.
- Opctl
Id string - The OCID of the operator control governing the target resource.
- Opctl
Name string - Name of the Operator control governing the target resource.
- Operator
Id string - A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
- Reason string
- Summary reason for which the operator is requesting access on the target resource.
- Request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- Resource
Id string - 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 string - A filter to return only resources that match the given ResourceName.
- Resource
Type string - A filter to return only lists of resources that match the entire given service type.
- Severity string
- Priority assigned to the access request by the operator
- State string
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- Sub
Resource []stringLists - The subresources requested for approval.
- System
Message string - System message that will be displayed to the operator at login to the target resource.
- Time
Of stringCreation - Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringModification - Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringUser Creation - The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Time
Requested stringFor Future Access - Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- User
Id string - The OCID of the user that last modified the access request.
- Workflow
Ids []string - The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
- access
Reason StringSummary - Summary comment by the operator creating the access request.
- action
Requests List<String>Lists - List of operator actions for which approval is sought by the operator user.
- approver
Comment String - The last recent Comment entered by the approver of the request.
- approver
Details List<GetAccess Requests Access Request Collection Item Approver Detail> - Contains the user ids who have approved the accessRequest for extension.
- audit
Types List<String> - Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
- closure
Comment String - The comment entered by the operator while closing the request.
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- duration Integer
- Duration in hours for which access is sought on the target resource.
- extend
Duration Integer - Duration in hours for which extension access is sought on the target resource.
- extension
Approver List<GetDetails Access Requests Access Request Collection Item Extension Approver Detail> - Contains the user ids who have approved the accessRequest for extension.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id String
- The OCID of the access request.
- is
Auto BooleanApproved - Whether the access request was automatically approved.
- is
Validate BooleanAssignment - Whether the access request was requested for Validate Assignment.
- lifecycle
Details String - more in detail about the lifeCycleState.
- number
Of IntegerApprovers - Number of approvers who have authorized an access request.
- number
Of IntegerApprovers Required - Number of approvers required to approve an access request.
- number
Of IntegerExtension Approvers - Number of approvers who have authorized an access request for extension.
- opctl
Additional StringMessage - Additional message specific to the access request that can be specified by the approver at the time of approval.
- opctl
Id String - The OCID of the operator control governing the target resource.
- opctl
Name String - Name of the Operator control governing the target resource.
- operator
Id String - A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
- reason String
- Summary reason for which the operator is requesting access on the target resource.
- request
Id String - This is an automatic identifier generated by the system which is easier for human comprehension.
- resource
Id String - 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 String - A filter to return only resources that match the given ResourceName.
- resource
Type String - A filter to return only lists of resources that match the entire given service type.
- severity String
- Priority assigned to the access request by the operator
- state String
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- sub
Resource List<String>Lists - The subresources requested for approval.
- system
Message String - System message that will be displayed to the operator at login to the target resource.
- time
Of StringCreation - Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringModification - Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringUser Creation - The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- time
Requested StringFor Future Access - Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- user
Id String - The OCID of the user that last modified the access request.
- workflow
Ids List<String> - The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
- access
Reason stringSummary - Summary comment by the operator creating the access request.
- action
Requests string[]Lists - List of operator actions for which approval is sought by the operator user.
- approver
Comment string - The last recent Comment entered by the approver of the request.
- approver
Details GetAccess Requests Access Request Collection Item Approver Detail[] - Contains the user ids who have approved the accessRequest for extension.
- audit
Types string[] - Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
- closure
Comment string - The comment entered by the operator while closing the request.
- compartment
Id string - The ID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- duration number
- Duration in hours for which access is sought on the target resource.
- extend
Duration number - Duration in hours for which extension access is sought on the target resource.
- extension
Approver GetDetails Access Requests Access Request Collection Item Extension Approver Detail[] - Contains the user ids who have approved the accessRequest for extension.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id string
- The OCID of the access request.
- is
Auto booleanApproved - Whether the access request was automatically approved.
- is
Validate booleanAssignment - Whether the access request was requested for Validate Assignment.
- lifecycle
Details string - more in detail about the lifeCycleState.
- number
Of numberApprovers - Number of approvers who have authorized an access request.
- number
Of numberApprovers Required - Number of approvers required to approve an access request.
- number
Of numberExtension Approvers - Number of approvers who have authorized an access request for extension.
- opctl
Additional stringMessage - Additional message specific to the access request that can be specified by the approver at the time of approval.
- opctl
Id string - The OCID of the operator control governing the target resource.
- opctl
Name string - Name of the Operator control governing the target resource.
- operator
Id string - A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
- reason string
- Summary reason for which the operator is requesting access on the target resource.
- request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- resource
Id string - 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 string - A filter to return only resources that match the given ResourceName.
- resource
Type string - A filter to return only lists of resources that match the entire given service type.
- severity string
- Priority assigned to the access request by the operator
- state string
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- sub
Resource string[]Lists - The subresources requested for approval.
- system
Message string - System message that will be displayed to the operator at login to the target resource.
- time
Of stringCreation - Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of stringModification - Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of stringUser Creation - The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- time
Requested stringFor Future Access - Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- user
Id string - The OCID of the user that last modified the access request.
- workflow
Ids string[] - The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
- access_
reason_ strsummary - Summary comment by the operator creating the access request.
- action_
requests_ Sequence[str]lists - List of operator actions for which approval is sought by the operator user.
- approver_
comment str - The last recent Comment entered by the approver of the request.
- approver_
details Sequence[operatoraccesscontrol.Get Access Requests Access Request Collection Item Approver Detail] - Contains the user ids who have approved the accessRequest for extension.
- audit_
types Sequence[str] - Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
- closure_
comment str - The comment entered by the operator while closing the request.
- compartment_
id str - The ID of the compartment in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- duration int
- Duration in hours for which access is sought on the target resource.
- extend_
duration int - Duration in hours for which extension access is sought on the target resource.
- extension_
approver_ Sequence[operatoraccesscontrol.details Get Access Requests Access Request Collection Item Extension Approver Detail] - Contains the user ids who have approved the accessRequest for extension.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id str
- The OCID of the access request.
- is_
auto_ boolapproved - Whether the access request was automatically approved.
- is_
validate_ boolassignment - Whether the access request was requested for Validate Assignment.
- lifecycle_
details str - more in detail about the lifeCycleState.
- number_
of_ intapprovers - Number of approvers who have authorized an access request.
- number_
of_ intapprovers_ required - Number of approvers required to approve an access request.
- number_
of_ intextension_ approvers - Number of approvers who have authorized an access request for extension.
- opctl_
additional_ strmessage - Additional message specific to the access request that can be specified by the approver at the time of approval.
- opctl_
id str - The OCID of the operator control governing the target resource.
- opctl_
name str - Name of the Operator control governing the target resource.
- operator_
id str - A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
- reason str
- Summary reason for which the operator is requesting access on the target resource.
- request_
id str - This is an automatic identifier generated by the system which is easier for human comprehension.
- resource_
id str - 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 str - A filter to return only resources that match the given ResourceName.
- resource_
type str - A filter to return only lists of resources that match the entire given service type.
- severity str
- Priority assigned to the access request by the operator
- state str
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- sub_
resource_ Sequence[str]lists - The subresources requested for approval.
- system_
message str - System message that will be displayed to the operator at login to the target resource.
- time_
of_ strcreation - Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time_
of_ strmodification - Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time_
of_ struser_ creation - The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- time_
requested_ strfor_ future_ access - Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- user_
id str - The OCID of the user that last modified the access request.
- workflow_
ids Sequence[str] - The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
- access
Reason StringSummary - Summary comment by the operator creating the access request.
- action
Requests List<String>Lists - List of operator actions for which approval is sought by the operator user.
- approver
Comment String - The last recent Comment entered by the approver of the request.
- approver
Details List<Property Map> - Contains the user ids who have approved the accessRequest for extension.
- audit
Types List<String> - Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
- closure
Comment String - The comment entered by the operator while closing the request.
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- duration Number
- Duration in hours for which access is sought on the target resource.
- extend
Duration Number - Duration in hours for which extension access is sought on the target resource.
- extension
Approver List<Property Map>Details - Contains the user ids who have approved the accessRequest for extension.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id String
- The OCID of the access request.
- is
Auto BooleanApproved - Whether the access request was automatically approved.
- is
Validate BooleanAssignment - Whether the access request was requested for Validate Assignment.
- lifecycle
Details String - more in detail about the lifeCycleState.
- number
Of NumberApprovers - Number of approvers who have authorized an access request.
- number
Of NumberApprovers Required - Number of approvers required to approve an access request.
- number
Of NumberExtension Approvers - Number of approvers who have authorized an access request for extension.
- opctl
Additional StringMessage - Additional message specific to the access request that can be specified by the approver at the time of approval.
- opctl
Id String - The OCID of the operator control governing the target resource.
- opctl
Name String - Name of the Operator control governing the target resource.
- operator
Id String - A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
- reason String
- Summary reason for which the operator is requesting access on the target resource.
- request
Id String - This is an automatic identifier generated by the system which is easier for human comprehension.
- resource
Id String - 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 String - A filter to return only resources that match the given ResourceName.
- resource
Type String - A filter to return only lists of resources that match the entire given service type.
- severity String
- Priority assigned to the access request by the operator
- state String
- A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
- sub
Resource List<String>Lists - The subresources requested for approval.
- system
Message String - System message that will be displayed to the operator at login to the target resource.
- time
Of StringCreation - Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringModification - Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringUser Creation - The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- time
Requested StringFor Future Access - Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- user
Id String - The OCID of the user that last modified the access request.
- workflow
Ids List<String> - The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
GetAccessRequestsAccessRequestCollectionItemApproverDetail
- Approval
Action string - The action done by the approver.
- Approval
Additional stringMessage - Additional message specified by the approver of the request.
- Approval
Comment string - Comment specified by the approver of the request.
- Approver
Id string - The userId of the approver.
- Time
Approved stringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- string
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Approval
Action string - The action done by the approver.
- Approval
Additional stringMessage - Additional message specified by the approver of the request.
- Approval
Comment string - Comment specified by the approver of the request.
- Approver
Id string - The userId of the approver.
- Time
Approved stringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- string
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action String - The action done by the approver.
- approval
Additional StringMessage - Additional message specified by the approver of the request.
- approval
Comment String - Comment specified by the approver of the request.
- approver
Id String - The userId of the approver.
- time
Approved StringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- String
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action string - The action done by the approver.
- approval
Additional stringMessage - Additional message specified by the approver of the request.
- approval
Comment string - Comment specified by the approver of the request.
- approver
Id string - The userId of the approver.
- time
Approved stringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- string
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval_
action str - The action done by the approver.
- approval_
additional_ strmessage - Additional message specified by the approver of the request.
- approval_
comment str - Comment specified by the approver of the request.
- approver_
id str - The userId of the approver.
- time_
approved_ strfor_ access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- str
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action String - The action done by the approver.
- approval
Additional StringMessage - Additional message specified by the approver of the request.
- approval
Comment String - Comment specified by the approver of the request.
- approver
Id String - The userId of the approver.
- time
Approved StringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- String
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail
- Approval
Action string - The action done by the approver.
- Approval
Additional stringMessage - Additional message specified by the approver of the request.
- Approval
Comment string - Comment specified by the approver of the request.
- Approver
Id string - The userId of the approver.
- Time
Approved stringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- string
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Approval
Action string - The action done by the approver.
- Approval
Additional stringMessage - Additional message specified by the approver of the request.
- Approval
Comment string - Comment specified by the approver of the request.
- Approver
Id string - The userId of the approver.
- Time
Approved stringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- string
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action String - The action done by the approver.
- approval
Additional StringMessage - Additional message specified by the approver of the request.
- approval
Comment String - Comment specified by the approver of the request.
- approver
Id String - The userId of the approver.
- time
Approved StringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- String
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action string - The action done by the approver.
- approval
Additional stringMessage - Additional message specified by the approver of the request.
- approval
Comment string - Comment specified by the approver of the request.
- approver
Id string - The userId of the approver.
- time
Approved stringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- string
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval_
action str - The action done by the approver.
- approval_
additional_ strmessage - Additional message specified by the approver of the request.
- approval_
comment str - Comment specified by the approver of the request.
- approver_
id str - The userId of the approver.
- time_
approved_ strfor_ access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- str
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action String - The action done by the approver.
- approval
Additional StringMessage - Additional message specified by the approver of the request.
- approval
Comment String - Comment specified by the approver of the request.
- approver
Id String - The userId of the approver.
- time
Approved StringFor Access - Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- String
- Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
GetAccessRequestsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.