Updated on 2024-10-29 GMT+08:00

Creating a Data Delivery

Scenario

SecMaster can deliver data to other pipelines or other cloud products in real time so that you can store data or consume data with other systems. After data delivery is configured, SecMaster periodically delivers the collected data to the specified pipelines or cloud products.

Currently, data can be delivered to the following cloud products: Object Storage Service (OBS) and Log Tank Service (LTS).

This section describes how to create a data delivery task.

Prerequisites

  • If you want to deliver data to an OBS bucket, the bucket must have private, public read, or public read/write policy enabled. Currently, parallel file buckets are not supported.
  • To deliver data to LTS, ensure there is an available log group and log streams.

Limitations and Constraints

When performing cross-account delivery, the data can only be delivered to the pipelines instead of cloud services of other accounts.

Creating a Data Delivery

  1. Log in to the management console.
  2. Click in the upper part of the page and choose Security > SecMaster.
  3. In the navigation pane on the left, choose Workspaces > Management. In the workspace list, click the name of the target workspace.
  4. In the navigation pane on the left, choose Threat Operations > Security Analysis. The security analysis page is displayed.
  5. In the data space navigation tree on the left, click the data space name to expand all pipelines. Next to the name of the target pipeline, click More > Deliver.
  6. (Optional) Confirm the authorization information, select Agree to authorize and click OK.

    Authorization is required for the first delivery to a specific destination type. If the authorization has been performed, skip this step.

  7. On the Create Delivery page, set data delivery parameters.

    1. Configure basic information.
      Table 1 Basic information

      Parameter

      Description

      Delivery Name

      Customized delivery rule name

      Resource Consumption

      The value is generated by default and does not need to be configured.

    2. Configure the data source.
      In the Data Source Settings area, the detailed information about the current pipeline is displayed. You do not need to set this parameter.
      Table 2 Data source parameters

      Parameter

      Description

      Delivery Type

      Delivery destination type. The default value is PIPE.

      Region

      Area where the current pipeline is located

      Workspace

      Workspace to which the current pipeline belongs

      Data Spaces

      Data space to which the current pipeline belongs

      Pipeline

      Pipeline name

      Data Read Policy

      Data read policy of the current pipeline

      Read By

      Identity of the data source reader

    3. Configure the delivery destination.
      • PIPE: Deliver the current pipeline data to other pipelines of the current account or pipelines of other accounts. Set this parameter as required.
        • Current: Deliver the current pipeline data to another pipeline of the current account. For details about the parameters, see Table 3.
          Table 3 Destination parameters - Current account pipeline

          Parameter

          Description

          Account Type

          Account type of the data delivery destination. Select Current.

          Delivery Type

          Delivery type. Select PIPE.

          Workspace

          Workspace where the destination PIPE is located

          Data Spaces

          Data space where the destination PIPE is located

          Pipeline

          Pipeline where the destination PIPE is located

          Written To

          The value is generated by default and does not need to be configured.

        • Cross-account delivery: Deliver the current pipeline data to the pipeline of another account. For details about the parameters, see Table 4.
          Table 4 Destination parameters - PIPE of Other account

          Parameter

          Description

          Account Type

          Account type of the data delivery destination. Select Other.

          Delivery Type

          Delivery type. Select PIPE.

          Account ID

          ID of the account to which the destination pipeline belongs

          Workspace ID

          ID of the workspace where the destination PIPE is located. For details about how to query the workspace ID, see 6.

          Data Space ID

          ID of the data space where the destination PIPE is located. For details about how to query the data space ID, see 6.

          Pipeline ID

          ID of the pipeline where the destination PIPE is located. For details about how to query the pipeline ID, see 6.

          Written To

          The value is generated by default and does not need to be configured.

      • LTS: Deliver the pipeline data to LTS. For details about the parameter settings, see Table 5.

        To deliver data to LTS, ensure there is an available log group and log streams.

        Table 5 Destination parameters - LTS

        Parameter

        Description

        Account Type

        Account type of the data delivery destination. When delivering data to LTS, only the Current account type can be selected.

        Delivery Type

        Delivery type. Select LTS.

        Log Group

        Destination LTS log group

        Log Stream

        Destination LTS log stream

        Written To

        The value is generated by default and does not need to be configured.

      • OBS: Deliver the pipeline data to OBS. For details about the parameter settings, see Table 6.
        Note that the OBS bucket you use must have private, public read, or public read/write policy enabled. Currently, parallel file buckets are not supported.
        Table 6 Destination parameters - OBS

        Parameter

        Description

        Account Type

        Account type of the data delivery destination. When delivering data to OBS, only the Current account type can be selected.

        Delivery Type

        Delivery type. Select OBS.

        Bucket Name

        Name of the destination OBS bucket

        Written To

        The value is generated by default and does not need to be configured.

    4. Under Access Authorization, view the permissions granted in 6.

      A delivery request requires the read and write permissions to access your cloud resources. After the authorization, the delivery task can access your cloud resources.

  8. Click OK.

Follow-up Operation

After a data delivery task is added, you need to grant the delivery permission. The delivery takes effect only after you accept the authorization. For details, see Data Delivery Authorization.