New Resource: alicloud_threat_detection_web_lock_bind - #10409
Open
api-tool-agent wants to merge 1 commit into
Open
New Resource: alicloud_threat_detection_web_lock_bind#10409api-tool-agent wants to merge 1 commit into
api-tool-agent wants to merge 1 commit into
Conversation
Add a new resource alicloud_threat_detection_web_lock_bind to bind servers to the web tamper proofing feature. It supports the full WebLockBind schema: protected directory, mode (whitelist/blacklist), defence mode (block/audit), backup dir, inclusive/exclusive file types, exclusive dir and files, plus update-only status and lang fields managed via ModifyWebLockStatus. CRUD maps to the Sas 2018-12-03 APIs: - create: ModifyWebLockStart - read: DescribeWebLockBindList (filtered by Uuid) - update: ModifyWebLockStatus (status, lang) - delete: ModifyWebLockUnbind
api-tool-agent
force-pushed
the
feat/threat-detection-web-lock-bind-86382636
branch
from
September 5, 2026 05:45
8ffdb75 to
ec77264
Compare
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.
This PR adds a new resource
alicloud_threat_detection_web_lock_bindto bind servers to the web tamper proofing feature of Alibaba Cloud Security Center (Sas).What
The new resource manages the full lifecycle of a web lock bind entry:
ModifyWebLockStart: bind a server to web tamper proofing with the specified protected directory, mode (whitelist/blacklist), defence mode (block/audit), backup directory, and inclusive/exclusive file types and files.DescribeWebLockBindList(filtered byUuid): refresh the bound server state.ModifyWebLockStatus: update the protection status (on/off) and language (zh/en) in place.ModifyWebLockUnbind: unbind the server.Schema
uuiddirlocal_backup_dirmodewhitelist/blacklistdefence_modeblock/auditexclusive_direxclusive_file_typeinclusive_file_typeexclusive_filestatuson/offlangzh/enTest
TestAccAliCloudThreatDetectionWebLockBind_basic— covers create with all arguments, in-place update ofstatusandlang, and import verify.Documentation
website/docs/r/threat_detection_web_lock_bind.html.markdown.terraform import alicloud_threat_detection_web_lock_bind.example <uuid>.