esnet-security / SCRAM

Security Catch and Release Automation Manager
Other
5 stars 0 forks source link

feat(Clients): Add ability to register and use clients #5

Closed samoehlert closed 1 year ago

samoehlert commented 1 year ago

This allows us to use tools like Zeek to create entries using the API. There is a register_client endpoint any client can hit, but until an admin user accepts the client and assigns actiontypes, clients won't be able to affect change. As a side effect, this means we also had to turn the WebUI into a client since that calls the API in the background.

Authorization decisions are for creating entries are made in api/views.py in the perform_create method.