Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DelegateAccessControl.getDelegatedResourceAccessRequestAuditLogReport
Explore with Pulumi AI
This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service.
Gets the audit log report for the given Delegated Resource Access Request.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDelegatedResourceAccessRequestAuditLogReport = oci.DelegateAccessControl.getDelegatedResourceAccessRequestAuditLogReport({
delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id,
isProcessTreeEnabled: delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled,
});
import pulumi
import pulumi_oci as oci
test_delegated_resource_access_request_audit_log_report = oci.DelegateAccessControl.get_delegated_resource_access_request_audit_log_report(delegated_resource_access_request_id=test_delegated_resource_access_request["id"],
is_process_tree_enabled=delegated_resource_access_request_audit_log_report_is_process_tree_enabled)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestAuditLogReportArgs{
DelegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.Id,
IsProcessTreeEnabled: pulumi.BoolRef(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled),
}, 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 testDelegatedResourceAccessRequestAuditLogReport = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport.Invoke(new()
{
DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id,
IsProcessTreeEnabled = delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs;
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 testDelegatedResourceAccessRequestAuditLogReport = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs.builder()
.delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
.isProcessTreeEnabled(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled)
.build());
}
}
variables:
testDelegatedResourceAccessRequestAuditLogReport:
fn::invoke:
Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequestAuditLogReport
Arguments:
delegatedResourceAccessRequestId: ${testDelegatedResourceAccessRequest.id}
isProcessTreeEnabled: ${delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled}
Using getDelegatedResourceAccessRequestAuditLogReport
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 getDelegatedResourceAccessRequestAuditLogReport(args: GetDelegatedResourceAccessRequestAuditLogReportArgs, opts?: InvokeOptions): Promise<GetDelegatedResourceAccessRequestAuditLogReportResult>
function getDelegatedResourceAccessRequestAuditLogReportOutput(args: GetDelegatedResourceAccessRequestAuditLogReportOutputArgs, opts?: InvokeOptions): Output<GetDelegatedResourceAccessRequestAuditLogReportResult>
def get_delegated_resource_access_request_audit_log_report(delegated_resource_access_request_id: Optional[str] = None,
is_process_tree_enabled: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetDelegatedResourceAccessRequestAuditLogReportResult
def get_delegated_resource_access_request_audit_log_report_output(delegated_resource_access_request_id: Optional[pulumi.Input[str]] = None,
is_process_tree_enabled: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDelegatedResourceAccessRequestAuditLogReportResult]
func GetDelegatedResourceAccessRequestAuditLogReport(ctx *Context, args *GetDelegatedResourceAccessRequestAuditLogReportArgs, opts ...InvokeOption) (*GetDelegatedResourceAccessRequestAuditLogReportResult, error)
func GetDelegatedResourceAccessRequestAuditLogReportOutput(ctx *Context, args *GetDelegatedResourceAccessRequestAuditLogReportOutputArgs, opts ...InvokeOption) GetDelegatedResourceAccessRequestAuditLogReportResultOutput
> Note: This function is named GetDelegatedResourceAccessRequestAuditLogReport
in the Go SDK.
public static class GetDelegatedResourceAccessRequestAuditLogReport
{
public static Task<GetDelegatedResourceAccessRequestAuditLogReportResult> InvokeAsync(GetDelegatedResourceAccessRequestAuditLogReportArgs args, InvokeOptions? opts = null)
public static Output<GetDelegatedResourceAccessRequestAuditLogReportResult> Invoke(GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDelegatedResourceAccessRequestAuditLogReportResult> getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport
arguments:
# arguments dictionary
The following arguments are supported:
- Delegated
Resource stringAccess Request Id - Unique Delegated Resource Access Request identifier
- Is
Process boolTree Enabled - Set to true to enable process tree computation in audit report
- Delegated
Resource stringAccess Request Id - Unique Delegated Resource Access Request identifier
- Is
Process boolTree Enabled - Set to true to enable process tree computation in audit report
- delegated
Resource StringAccess Request Id - Unique Delegated Resource Access Request identifier
- is
Process BooleanTree Enabled - Set to true to enable process tree computation in audit report
- delegated
Resource stringAccess Request Id - Unique Delegated Resource Access Request identifier
- is
Process booleanTree Enabled - Set to true to enable process tree computation in audit report
- delegated_
resource_ straccess_ request_ id - Unique Delegated Resource Access Request identifier
- is_
process_ booltree_ enabled - Set to true to enable process tree computation in audit report
- delegated
Resource StringAccess Request Id - Unique Delegated Resource Access Request identifier
- is
Process BooleanTree Enabled - Set to true to enable process tree computation in audit report
getDelegatedResourceAccessRequestAuditLogReport Result
The following output properties are available:
- Audit
Report stringStatus - Status of the audit report
- Delegated
Resource stringAccess Request Id - Id string
- The provider-assigned unique ID for this managed resource.
- Process
Tree string - The process tree data
- Report string
- Audit log report.
- Time
Report stringGenerated - Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Is
Process boolTree Enabled
- Audit
Report stringStatus - Status of the audit report
- Delegated
Resource stringAccess Request Id - Id string
- The provider-assigned unique ID for this managed resource.
- Process
Tree string - The process tree data
- Report string
- Audit log report.
- Time
Report stringGenerated - Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Is
Process boolTree Enabled
- audit
Report StringStatus - Status of the audit report
- delegated
Resource StringAccess Request Id - id String
- The provider-assigned unique ID for this managed resource.
- process
Tree String - The process tree data
- report String
- Audit log report.
- time
Report StringGenerated - Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- is
Process BooleanTree Enabled
- audit
Report stringStatus - Status of the audit report
- delegated
Resource stringAccess Request Id - id string
- The provider-assigned unique ID for this managed resource.
- process
Tree string - The process tree data
- report string
- Audit log report.
- time
Report stringGenerated - Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- is
Process booleanTree Enabled
- audit_
report_ strstatus - Status of the audit report
- delegated_
resource_ straccess_ request_ id - id str
- The provider-assigned unique ID for this managed resource.
- process_
tree str - The process tree data
- report str
- Audit log report.
- time_
report_ strgenerated - Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- is_
process_ booltree_ enabled
- audit
Report StringStatus - Status of the audit report
- delegated
Resource StringAccess Request Id - id String
- The provider-assigned unique ID for this managed resource.
- process
Tree String - The process tree data
- report String
- Audit log report.
- time
Report StringGenerated - Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- is
Process BooleanTree Enabled
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.