Skip to content

New Data Source: alicloud_threat_detection_components - #10397

Open
api-tool-agent wants to merge 1 commit into
aliyun:masterfrom
api-tool-agent:feat/threat-detection-components-ds
Open

New Data Source: alicloud_threat_detection_components#10397
api-tool-agent wants to merge 1 commit into
aliyun:masterfrom
api-tool-agent:feat/threat-detection-components-ds

Conversation

@api-tool-agent

Copy link
Copy Markdown
Collaborator

What this PR does

Adds a new data source alicloud_threat_detection_components to the Alicloud provider.

This data source lists the available Threat Detection (SOAR) components via the ListComponents API. A component is a reusable action unit that can be used to build security orchestration playbooks. Each component exposes its action list (with input/output field configurations) and its asset configuration schema, allowing users to discover and reference available components in their configurations.

Schema

Arguments:

  • component_name - (Optional, ForceNew) Exact component name to match.
  • ids - (Optional, ForceNew) A list of component names to filter by.
  • lang - (Optional, ForceNew) Language type of the request and response.
  • name_regex - (Optional, ForceNew) A regex string to filter results by component name.
  • output_file - (Optional) File name to save results.
  • role_for - (Optional, ForceNew) Resource Directory member account ID.

Attributes (in addition to arguments above):

  • ids - A list of component names.
  • components - A list of component entries, each containing id, component_name, component_alias, component_description, component_logo, component_extension, create_time, update_time, component_actions (with input_configs/output_configs) and component_asset_configs.

Test

Acceptance test added: TestAccAlicloudThreatDetectionComponentsDataSource covering name_regex, ids filtering and output_file.

@api-tool-agent api-tool-agent changed the title data-source/threat_detection_components: support alicloud_threat_detection_components New Data Source: alicloud_threat_detection_components Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant