Skip to content

ImportLogTasksSubmissionProps

Properties for defining a ImportLogTasksSubmission.

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

Initializer

import com.aliyun.ros.cdk.cloudsiem.ImportLogTasksSubmissionProps;
ImportLogTasksSubmissionProps.builder()
    .accounts(IResolvable)
    .accounts(java.util.List<java.lang.String)
    .accounts(IResolvable>)
    .cloudCode(java.lang.String)
    .cloudCode(IResolvable)
    .logCodes(IResolvable)
    .logCodes(java.util.List<java.lang.String)
    .logCodes(IResolvable>)
    .prodCode(java.lang.String)
    .prodCode(IResolvable)
    .build();

Properties

Name Type Description
accounts com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property accounts: The list of accounts for log ingestion.
cloudCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cloudCode: The cloud code.
logCodes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property logCodes: The list of log codes to be submitted.
prodCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property prodCode: The product code.

accountsRequired

public java.lang.Object getAccounts();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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 java.lang.Object getCloudCode();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getLogCodes();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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 java.lang.Object getProdCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property prodCode: The product code.

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