Skip to content

ImportLogTasksSubmissionProps

Properties for defining a ImportLogTasksSubmission.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsiem-importlogtaskssubmission

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudsiem"
&alicloudroscdkcloudsiem.ImportLogTasksSubmissionProps {
    Accounts: interface{},
    CloudCode: interface{},
    LogCodes: interface{},
    ProdCode: interface{},
}

Properties

Name Type Description
Accounts interface{} Property accounts: The list of accounts for log ingestion.
CloudCode interface{} Property cloudCode: The cloud code.
LogCodes interface{} Property logCodes: The list of log codes to be submitted.
ProdCode interface{} Property prodCode: The product code.

AccountsRequired

Accounts interface{}
  • Type: interface{}

Property accounts: The list of accounts for log ingestion.

The value must be a JSON array. Valid values:

  • AccountId: The ID of the account.
  • Imported: Specifies whether to enable or disable log ingestion for the account. Valid values:
  • 0: Disable ingestion.
  • 1: Enable ingestion.

CloudCodeRequired

CloudCode interface{}
  • Type: interface{}

Property cloudCode: The cloud code.

The code that is used for multi-cloud environments. Valid values: qcloud for Tencent Cloud, aliyun for Alibaba Cloud, hcloud for Huawei Cloud


LogCodesRequired

LogCodes interface{}
  • Type: interface{}

Property logCodes: The list of log codes to be submitted.

For all available log codes of a product, query the Cloud Siem ListImportedLogsByProd API with a specific product code.


ProdCodeRequired

ProdCode interface{}
  • Type: interface{}

Property prodCode: The product code.

For all available product codes, query the Cloud Siem ListAllProds API.