Obtaining the Security Score
Function
This API is used to obtain the overall security situation score of the current project.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/sec-ops/situation-dashboard/score
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
analysis_status |
Integer |
Analysis status. 0: completed, 1: analyzing, 2: analysis failed. |
|
last_analyze_time |
Long |
Analysis completion time. |
|
level |
String |
Risk level. |
|
score |
String |
Score. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot