getRisksPreventedByVulnerability
Get risks prevented count grouped by vulnerability name.
Examples
query GetRisksPreventedByVulnerability($input: ActiveUsersWeeklyInput) {
getRisksPreventedByVulnerability(input: $input) {
vulnerabilityName
count
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"input": {
"dateRange": {
"from": 1749000000000,
"to": 1749900000000
}
}
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "query GetRisksPreventedByVulnerability($input: ActiveUsersWeeklyInput) { getRisksPreventedByVulnerability(input: $input) { vulnerabilityName count } }",
"variables": {
"input": {
"dateRange": {
"from": 1749000000000,
"to": 1749900000000
}
}
}
}'Arguments
You can use the following argument(s) to customize your getRisksPreventedByVulnerability query.
Argument
Description
Supported fields
Fields
Return type: [RisksPreventedByVulnerabilityItem!]!
You can use the following field(s) to specify what information your getRisksPreventedByVulnerability query will return. Please note that some fields may have their own subfields.
Field
Description
Supported fields
vulnerabilityName String!
The vulnerability name
count Int!
Number of risks prevented for this vulnerability
Last updated