pre-release to main policy#515
Draft
anubhav-goel wants to merge 14 commits intomainfrom
Draft
Conversation
* feat(tfpolicy): TF-33301 TF-33307: Added: init setup for terraform-policy * feat(tfpolicy): TF-33301 TF-33307: Modified: init setup for terraform-policy * feat(tfpolicy): TF-33301 TF-33315: WIP: static schema for resource_policy block * feat(tfpolicy): TF-33301 TF-33315: WIP: added enforce block * feat(tfpolicy): TF-33301 TF-33314 TF-33315 TF-33317: Added: policy block static schema * feat(tfpolicy): TF-33301 TF-33314 TF-33315 TF-33451 TF-33452: Added: provider_policy module_policy block static schema * feat(tfpolicy): TF-33301 TF-33644: Added: ResourcePolicies, ProviderPolicies, ModulePolicies to decodedPolicy * feat(tfpolicy): TF-33301 TF-33644: Refactored: cleanup * feat(tfpolicy): TF-33301: Revert versions_gen
…in policy schema merger (#494) * feat(tfpolicy): TF-33301 TF-33307: Added: init setup for terraform-policy * feat(tfpolicy): TF-33301 TF-33307: Modified: init setup for terraform-policy * feat(tfpolicy): TF-33301 TF-33315: WIP: static schema for resource_policy block * feat(tfpolicy): TF-33301 TF-33315: WIP: added enforce block * feat(tfpolicy): TF-33301 TF-33314 TF-33315 TF-33317: Added: policy block static schema * feat(tfpolicy): TF-33301 TF-33314 TF-33315 TF-33451 TF-33452: Added: provider_policy module_policy block static schema * feat(tfpolicy): TF-33301 TF-33644: Added: ResourcePolicies, ProviderPolicies, ModulePolicies to decodedPolicy * feat(tfpolicy): TF-33301 TF-33644: Refactored: cleanup * feat(tfpolicy): TF-33301: Revert versions_gen * feat(tfpolicy): TF-33301: Refactored: Remove unnecessary schema copy in policy schema merger
* feat(tfpolicy): TF-33301 TF-33307: Added: init setup for terraform-policy * feat(tfpolicy): TF-33301 TF-33307: Modified: init setup for terraform-policy * feat(tfpolicy): TF-33301 TF-33315: WIP: static schema for resource_policy block * feat(tfpolicy): TF-33301 TF-33315: WIP: added enforce block * feat(tfpolicy): TF-33301 TF-33314 TF-33315 TF-33317: Added: policy block static schema * feat(tfpolicy): TF-33301 TF-33314 TF-33315 TF-33451 TF-33452: Added: provider_policy module_policy block static schema * feat(tfpolicy): TF-33301 TF-33644: Added: ResourcePolicies, ProviderPolicies, ModulePolicies to decodedPolicy * feat(tfpolicy): TF-33301 TF-33644: Refactored: cleanup * feat(tfpolicy): TF-33301: Revert versions_gen * Add test for policy/decoder --------- Co-authored-by: Anubhav Goel <replyag96@gmail.com>
…ks (#502) * TF-33991 | Introduced enforcement level within individual policy blocks * TF-33991 | update possible values for enforcement level * reverted uninteded changes * updated content
* Add info_message attribute in enforce block * update description for info_message
* Add test cases for variables * Add support for locals block
…policy (#497) * TF-33303 TF-33866: Added: nested locals block * TF-33303 TF-33866: Bumped: hcl-lang * feat(tfpolicy): TF-33301 TF-33802: Modified: using TargetableFromCurrentBlock * feat(tfpolicy): TF-33301 TF-33802: Bumped: hcl-lang * feat(tfpolicy): TF-33301 TF-33802: Bumped: hcl-lang * feat(tfpolicy): TF-33301 TF-33802: Bumped: hcl-lang
* feat(tfpolicy): TF-34028 TF-34056: Added: init setup for policytest files * PolicyTest - Updated static schema (#511) * Update module, provider and resource block under policytest * updated static schmea for policy test * Update description * Removed variable block * Removed variable * updated semantic token modified * Add extra filed in address to skip attribute in address * updated label * Bumped: hcl-lang * made meta optional in resource block * feat(tfpolicy): TF-34028: Modified: enforcement_level values * made attrs and meta attribute optional * feat(tfpolicy): TF-34028: Added: policy functions * update resrouce block * supporting skip on resource block * updated data and resource block * Refactored: object to ObjectAttributes --------- Co-authored-by: Anubhav Goel <replyag96@gmail.com> * [COMPLIANCE] Add required copyright headers Signed-off-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> --------- Signed-off-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: sunnyhashi <sunny.wahane@hashicorp.com> Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
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.
PCI review checklist
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.