zalando-stups / fullstop

Audit reporting: collect violations across all AWS accounts

Home Page:https://docs.stups.io/en/latest/components/fullstop.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide a DELETE endpoint for white listing rules

harti2006 opened this issue · comments

Expected behavior

Rules should not actually be deleted, but the expiry date should be set.

Step needed

Add an endpoint, e.g. DELETE /api/whitelisting-rules/{id}?expiry_date=...
It should take an optional parameter expiry_date that defaults to now() and MUST not lie in the past.

Dependencies

no more valid rule cannot be deleted.
expiry_date > now and the saved rule expiry_date > now