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

Add REST endpoints to tag and untag policies in bulk #817

Conversation

sahibamittal
Copy link
Collaborator

@sahibamittal sahibamittal commented Jul 31, 2024

Description

Adds the new endpoints:

  • POST /api/v1/tag/{name}/policy
  • DELETE /api/v1/tag/{name}/policy

And deprecates the redundant endpoints:

  • POST /api/v1/policy/{uuid}/tag/{name}
  • DELETE /api/v1/policy/{uuid}/tag/{name}

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have updated the migration changelog accordingly
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@sahibamittal sahibamittal deleted the port-Add-REST-endpoints-to-tag-and-untag-policies-in-bulk branch August 1, 2024 14:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant