We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When adding an Asset using the endpoint /case/assets/add, if no analysis_status_id is specified, the asset will be created but:
/case/assets/add
analysis_status_id
/case/assets/list
To Reproduce Send a request like:
POST /case/assets/add?cid=2 HTTP/1.1 Content-Type: application/json Authorization: XXX Host: XXX Content-Length: 195 { "asset_type_id": "9", "asset_domain": "iris.local", "asset_ip": "127.0.0.1", "asset_info": "", "asset_name": "admin_laptop", "asset_tags": "anewtag", "asset_description": "A host description" }
to the API.
Expected behavior Since the analysis_status_id is not required (as per the documentation), the Asset should be created with no side effect.
Additional context I am using the last available documentation of the API (2.0.2) but my instance is running API v 2.0.4.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When adding an Asset using the endpoint
/case/assets/add
, if noanalysis_status_id
is specified, the asset will be created but:/case/assets/list
To Reproduce
Send a request like:
to the API.
Expected behavior
Since the
analysis_status_id
is not required (as per the documentation), the Asset should be created with no side effect.Additional context
I am using the last available documentation of the API (2.0.2) but my instance is running API v 2.0.4.
The text was updated successfully, but these errors were encountered: