1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DelegateAccessControl
  5. getDelegatedResourceAccessRequestAuditLogReport
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DelegateAccessControl.getDelegatedResourceAccessRequestAuditLogReport

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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:

    DelegatedResourceAccessRequestId string
    Unique Delegated Resource Access Request identifier
    IsProcessTreeEnabled bool
    Set to true to enable process tree computation in audit report
    DelegatedResourceAccessRequestId string
    Unique Delegated Resource Access Request identifier
    IsProcessTreeEnabled bool
    Set to true to enable process tree computation in audit report
    delegatedResourceAccessRequestId String
    Unique Delegated Resource Access Request identifier
    isProcessTreeEnabled Boolean
    Set to true to enable process tree computation in audit report
    delegatedResourceAccessRequestId string
    Unique Delegated Resource Access Request identifier
    isProcessTreeEnabled boolean
    Set to true to enable process tree computation in audit report
    delegated_resource_access_request_id str
    Unique Delegated Resource Access Request identifier
    is_process_tree_enabled bool
    Set to true to enable process tree computation in audit report
    delegatedResourceAccessRequestId String
    Unique Delegated Resource Access Request identifier
    isProcessTreeEnabled Boolean
    Set to true to enable process tree computation in audit report

    getDelegatedResourceAccessRequestAuditLogReport Result

    The following output properties are available:

    AuditReportStatus string
    Status of the audit report
    DelegatedResourceAccessRequestId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProcessTree string
    The process tree data
    Report string
    Audit log report.
    TimeReportGenerated string
    Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    IsProcessTreeEnabled bool
    AuditReportStatus string
    Status of the audit report
    DelegatedResourceAccessRequestId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProcessTree string
    The process tree data
    Report string
    Audit log report.
    TimeReportGenerated string
    Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    IsProcessTreeEnabled bool
    auditReportStatus String
    Status of the audit report
    delegatedResourceAccessRequestId String
    id String
    The provider-assigned unique ID for this managed resource.
    processTree String
    The process tree data
    report String
    Audit log report.
    timeReportGenerated String
    Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    isProcessTreeEnabled Boolean
    auditReportStatus string
    Status of the audit report
    delegatedResourceAccessRequestId string
    id string
    The provider-assigned unique ID for this managed resource.
    processTree string
    The process tree data
    report string
    Audit log report.
    timeReportGenerated string
    Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    isProcessTreeEnabled boolean
    audit_report_status str
    Status of the audit report
    delegated_resource_access_request_id str
    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_generated str
    Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    is_process_tree_enabled bool
    auditReportStatus String
    Status of the audit report
    delegatedResourceAccessRequestId String
    id String
    The provider-assigned unique ID for this managed resource.
    processTree String
    The process tree data
    report String
    Audit log report.
    timeReportGenerated String
    Time when the audit report was generated RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    isProcessTreeEnabled Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi