-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add table azure_policy_assignment. Closes #122 #123
Conversation
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.
@bigdatasourav left few comments
{ | ||
Name: "policy_definition_id", | ||
Description: "The ID of the policy definition or policy set definition being assigned.", | ||
Type: proto.ColumnType_STRING, | ||
Transform: transform.FromField("AssignmentProperties.PolicyDefinitionID"), | ||
}, | ||
{ | ||
Name: "scope", | ||
Description: "The scope for the policy assignment.", | ||
Type: proto.ColumnType_STRING, | ||
Transform: transform.FromField("AssignmentProperties.Scope"), | ||
}, | ||
{ | ||
Name: "type", | ||
Description: "The type of the policy assignment.", | ||
Type: proto.ColumnType_STRING, | ||
}, | ||
{ | ||
Name: "sku_name", | ||
Description: "The name of the policy sku.", | ||
Type: proto.ColumnType_STRING, | ||
Transform: transform.FromField("Sku.Name"), | ||
}, | ||
{ | ||
Name: "sku_tier", | ||
Description: "The policy sku tier.", | ||
Type: proto.ColumnType_STRING, | ||
Transform: transform.FromField("Sku.Tier").Transform(transform.ToString), | ||
}, | ||
{ | ||
Name: "enforcement_mode", | ||
Description: "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.", | ||
Type: proto.ColumnType_STRING, | ||
Transform: transform.FromField("AssignmentProperties.EnforcementMode"), | ||
}, | ||
{ | ||
Name: "description", | ||
Description: "This message will be part of response in case of policy violation.", | ||
Type: proto.ColumnType_STRING, | ||
Transform: transform.FromField("AssignmentProperties.Description"), | ||
}, |
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.
Please sort columns in alphabetical order
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.
till policy_definition_id , kept it as the important Key columns after that sorted. should it any other different order ?
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.
LGTM
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.
LGTM
Integration test logs
Logs
Example query results
Results