Skip to content

ImportLogTasksSubmissionProps

Properties for defining a ImportLogTasksSubmission.

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

Initializer

import { ImportLogTasksSubmissionProps } from '@alicloud/ros-cdk-cloudsiem'
const importLogTasksSubmissionProps: ImportLogTasksSubmissionProps = { ... }

Properties

Name Type Description
accounts @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property accounts: The list of accounts for log ingestion.
cloudCode string | @alicloud/ros-cdk-core.IResolvable Property cloudCode: The cloud code.
logCodes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property logCodes: The list of log codes to be submitted.
prodCode string | @alicloud/ros-cdk-core.IResolvable Property prodCode: The product code.

accountsRequired

public readonly accounts: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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

public readonly cloudCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly logCodes: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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

public readonly prodCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property prodCode: The product code.

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