Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.OperatorAccessControl.getAccessRequestAuditLogReport
Explore with Pulumi AI
This data source provides details about a specific Access Request Audit Log Report resource in Oracle Cloud Infrastructure Operator Access Control service.
Gets the Audit Log Report for the given access requestId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAccessRequestAuditLogReport = oci.OperatorAccessControl.getAccessRequestAuditLogReport({
accessRequestId: testAccessRequest.id,
enableProcessTree: accessRequestAuditLogReportEnableProcessTree,
});
import pulumi
import pulumi_oci as oci
test_access_request_audit_log_report = oci.OperatorAccessControl.get_access_request_audit_log_report(access_request_id=test_access_request["id"],
enable_process_tree=access_request_audit_log_report_enable_process_tree)
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.GetAccessRequestAuditLogReport(ctx, &operatoraccesscontrol.GetAccessRequestAuditLogReportArgs{
AccessRequestId: testAccessRequest.Id,
EnableProcessTree: pulumi.IntRef(accessRequestAuditLogReportEnableProcessTree),
}, 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 testAccessRequestAuditLogReport = Oci.OperatorAccessControl.GetAccessRequestAuditLogReport.Invoke(new()
{
AccessRequestId = testAccessRequest.Id,
EnableProcessTree = accessRequestAuditLogReportEnableProcessTree,
});
});
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.GetAccessRequestAuditLogReportArgs;
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 testAccessRequestAuditLogReport = OperatorAccessControlFunctions.getAccessRequestAuditLogReport(GetAccessRequestAuditLogReportArgs.builder()
.accessRequestId(testAccessRequest.id())
.enableProcessTree(accessRequestAuditLogReportEnableProcessTree)
.build());
}
}
variables:
testAccessRequestAuditLogReport:
fn::invoke:
Function: oci:OperatorAccessControl:getAccessRequestAuditLogReport
Arguments:
accessRequestId: ${testAccessRequest.id}
enableProcessTree: ${accessRequestAuditLogReportEnableProcessTree}
Using getAccessRequestAuditLogReport
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 getAccessRequestAuditLogReport(args: GetAccessRequestAuditLogReportArgs, opts?: InvokeOptions): Promise<GetAccessRequestAuditLogReportResult>
function getAccessRequestAuditLogReportOutput(args: GetAccessRequestAuditLogReportOutputArgs, opts?: InvokeOptions): Output<GetAccessRequestAuditLogReportResult>
def get_access_request_audit_log_report(access_request_id: Optional[str] = None,
enable_process_tree: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessRequestAuditLogReportResult
def get_access_request_audit_log_report_output(access_request_id: Optional[pulumi.Input[str]] = None,
enable_process_tree: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessRequestAuditLogReportResult]
func GetAccessRequestAuditLogReport(ctx *Context, args *GetAccessRequestAuditLogReportArgs, opts ...InvokeOption) (*GetAccessRequestAuditLogReportResult, error)
func GetAccessRequestAuditLogReportOutput(ctx *Context, args *GetAccessRequestAuditLogReportOutputArgs, opts ...InvokeOption) GetAccessRequestAuditLogReportResultOutput
> Note: This function is named GetAccessRequestAuditLogReport
in the Go SDK.
public static class GetAccessRequestAuditLogReport
{
public static Task<GetAccessRequestAuditLogReportResult> InvokeAsync(GetAccessRequestAuditLogReportArgs args, InvokeOptions? opts = null)
public static Output<GetAccessRequestAuditLogReportResult> Invoke(GetAccessRequestAuditLogReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccessRequestAuditLogReportResult> getAccessRequestAuditLogReport(GetAccessRequestAuditLogReportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OperatorAccessControl/getAccessRequestAuditLogReport:getAccessRequestAuditLogReport
arguments:
# arguments dictionary
The following arguments are supported:
- Access
Request stringId - unique AccessRequest identifier
- Enable
Process intTree - To enable process tree computation in audit report
- Access
Request stringId - unique AccessRequest identifier
- Enable
Process intTree - To enable process tree computation in audit report
- access
Request StringId - unique AccessRequest identifier
- enable
Process IntegerTree - To enable process tree computation in audit report
- access
Request stringId - unique AccessRequest identifier
- enable
Process numberTree - To enable process tree computation in audit report
- access_
request_ strid - unique AccessRequest identifier
- enable_
process_ inttree - To enable process tree computation in audit report
- access
Request StringId - unique AccessRequest identifier
- enable
Process NumberTree - To enable process tree computation in audit report
getAccessRequestAuditLogReport Result
The following output properties are available:
- Access
Request stringId - Audit
Report stringStatus - auditReportStatus for the accessRequestId
- Id string
- The provider-assigned unique ID for this managed resource.
- Process
Tree string - Contains the process tree data
- Report string
- Contains the report data.
- Time
Of stringReport Generation - Time when the audit report was generated RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Enable
Process intTree
- Access
Request stringId - Audit
Report stringStatus - auditReportStatus for the accessRequestId
- Id string
- The provider-assigned unique ID for this managed resource.
- Process
Tree string - Contains the process tree data
- Report string
- Contains the report data.
- Time
Of stringReport Generation - Time when the audit report was generated RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Enable
Process intTree
- access
Request StringId - audit
Report StringStatus - auditReportStatus for the accessRequestId
- id String
- The provider-assigned unique ID for this managed resource.
- process
Tree String - Contains the process tree data
- report String
- Contains the report data.
- time
Of StringReport Generation - Time when the audit report was generated RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- enable
Process IntegerTree
- access
Request stringId - audit
Report stringStatus - auditReportStatus for the accessRequestId
- id string
- The provider-assigned unique ID for this managed resource.
- process
Tree string - Contains the process tree data
- report string
- Contains the report data.
- time
Of stringReport Generation - Time when the audit report was generated RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- enable
Process numberTree
- access_
request_ strid - audit_
report_ strstatus - auditReportStatus for the accessRequestId
- id str
- The provider-assigned unique ID for this managed resource.
- process_
tree str - Contains the process tree data
- report str
- Contains the report data.
- time_
of_ strreport_ generation - Time when the audit report was generated RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- enable_
process_ inttree
- access
Request StringId - audit
Report StringStatus - auditReportStatus for the accessRequestId
- id String
- The provider-assigned unique ID for this managed resource.
- process
Tree String - Contains the process tree data
- report String
- Contains the report data.
- time
Of StringReport Generation - Time when the audit report was generated RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- enable
Process NumberTree
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.