Skip to content
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

support product id (string) format association with domains #2193

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

havetisyan
Copy link
Collaborator

we have a new productId field in domain meta that is defined as string value. the change does not introduce any backward incompatibility with existing solution (the old product numeric was stored in the db as ypm_id). To avoid confusion, the internal attribute names have been changed to indicate their use: productNumber and productId.

Also there are now 4 new config options that control whether or not the server should impose uniqueness checks on the domain attributes for product id, aws account, azure subscription and gcp project associations all with default value of true (current implementation):

athenz.zms.enforce_unique_aws_accounts=true
athenz.zms.enforce_unique_azure_subscriptions=true
athenz.zms.enforce_unique_gcp_projects=true
athenz.zms.enforce_unique_product_ids=true

@abvaidya abvaidya merged commit 7069bf8 into master May 30, 2023
@abvaidya abvaidya deleted the prod-id branch May 30, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants