-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
[FR] REST API v2.1.0: GET /api/v2/cases/{identifier}/iocs #537
Comments
Things that need to be completed:
|
|
Architecture hint and reflexion: for the IOC delete in the new API, since the case identifier is not present on the request, the case access permission check can only be done in the business level, after the ioc is retrieved. Actually we should decide on which layer we want to do it, then it will have an impact on the business API. |
In the end, I removed all permission checks out of business and put them in the blueprint layer. This has an impact on the signature of some methods in the business layer. But the end-result seems quite acceptable. I added the information about this choice in the architecture.md file. |
Here are the things remaining to do to update the documentation:
|
This issue is about the implementation of the first iocs endpoint:
The tasks are the following:
Create a test :
This is the previous endpoint which should be deprecated:
In the web interface:
The text was updated successfully, but these errors were encountered: