Argus icon indicating copy to clipboard operation
Argus copied to clipboard

Incident metadata validation

Open elfjes opened this issue 7 months ago • 1 comments

When posting Incident metadata to the Argus API, it would be nice if we can validate the incoming metadata to some schema. Currently we have a setup that works through middleware, but it's a bit hacky (https://github.com/GEANT/geant-argus/pull/4). It looks for requests that are POST/PATCH/PUT to the Incidents view and validates any incoming metadata. It would be more proper to have a way to hook into the IncidentViewSet directly through some pluggable validator api.

in talks with @hmpf this would consist of two things

  • [ ] #841
  • [ ] #842

elfjes avatar Jul 05 '24 10:07 elfjes