- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.8k
 
feat(misconf): Update azure storage schema #9728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
d9bd5f2    to
    ca29e49      
    Compare
  
    | customerManagedKeyBlock := resource.GetBlock("customer_managed_key") | ||
| if customerManagedKeyBlock.IsNotNil() { | ||
| account.CustomerManagedKey.Metadata = customerManagedKeyBlock.GetMetadata() | ||
| keyVaultKeyIdAttr := customerManagedKeyBlock.GetAttribute("key_vault_key_id") | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will attributes that link one resource to another, such as key_vault_key_id and user_assigned_identity_id, be used in checks? Just check that the value is not empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The checks will check that its not empty and that it is managed
Signed-off-by: nikpivkin <[email protected]>
Update azure storage schema in order to add IaC checks
Checklist