Show / Hide Table of Contents

Class Audit

SLS log audit exists in the form of log service app.

In addition to inheriting all SLS functions, it also enhances the real-time automatic centralized collection of audit related logs across multi cloud products under multi accounts, and provides support for storage, query and information summary required by audit. It covers actiontrail, OSS, NAS, SLB, API gateway, RDS, WAF, cloud firewall, cloud security center and other products.

NOTE: Available in 1.81.0

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var example = new AliCloud.Log.Audit("example", new AliCloud.Log.AuditArgs
    {
        Aliuid = "12345678",
        DisplayName = "tf-audit-test",
        VariableMap = 
        {
            { "actiontrail_enabled", "true" },
            { "actiontrail_ttl", "180" },
            { "oss_access_enabled", "true" },
            { "oss_access_ttl", "180" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Audit
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Log
Assembly: Pulumi.AliCloud.dll
Syntax
public class Audit : CustomResource

Constructors

View Source

Audit(String, AuditArgs, CustomResourceOptions)

Create a Audit resource with the given unique name, arguments, and options.

Declaration
public Audit(string name, AuditArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AuditArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Aliuid

Aliuid value of your account.

Declaration
public Output<string> Aliuid { get; }
Property Value
Type Description
Output<System.String>
View Source

DisplayName

Name of SLS log audit.

Declaration
public Output<string> DisplayName { get; }
Property Value
Type Description
Output<System.String>
View Source

MultiAccounts

Multi-account configuration, please fill in multiple aliuid.

Declaration
public Output<ImmutableArray<string>> MultiAccounts { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

VariableMap

Log audit detailed configuration.

Declaration
public Output<ImmutableDictionary<string, object>> VariableMap { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, AuditState, CustomResourceOptions)

Get an existing Audit resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Audit Get(string name, Input<string> id, AuditState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AuditState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Audit
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.