New Data Source: alicloud_threat_detection_components - #10397
Open
api-tool-agent wants to merge 1 commit into
Open
New Data Source: alicloud_threat_detection_components#10397api-tool-agent wants to merge 1 commit into
api-tool-agent wants to merge 1 commit into
Conversation
…ction_components data source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds a new data source
alicloud_threat_detection_componentsto the Alicloud provider.This data source lists the available Threat Detection (SOAR) components via the
ListComponentsAPI. 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 containingid,component_name,component_alias,component_description,component_logo,component_extension,create_time,update_time,component_actions(withinput_configs/output_configs) andcomponent_asset_configs.Test
Acceptance test added:
TestAccAlicloudThreatDetectionComponentsDataSourcecovering name_regex, ids filtering and output_file.