At the documentation website:
https://jfrog.com/help/r/jfrog-rest-apis/get-violations
There are 2 examples for violations:
POST /api/v1/violations
{
"filters": {
"name_contains": "Denial of service attack",
"violation_type": "Security",
"watch_name": "watch",
"min_severity": "Medium",
"created_from": "2018-06-06T12:22:16+03:00"
},
"pagination": {
"order_by": "updated",
"limit": 25,
"offset": 1
}
}
and
POST /api/v1/violations
{
"filters": {
"violation_type": "Operational_Risk",
"watch_name": "watch",
"min_severity": "Medium",
},
"pagination": {
"order_by": "updated",
"limit": 25,
"offset": 1
}
}
When I run some basic queries (and trying to tweak the filter-values), I am getting 429 errors
{
"error": "Query limits reached. Please narrow down your search"
}
But I can't narrow the search, because I don't know any more filter options.
....
Where is the documentation for ALL AVAILABLE filters?
..
I am trying to (at least) get to "my little world" inside the larger JFROG universe
As in the below, I am desperately trying to find the correct filters for
"MyRepoKeyOne"
and
"com/mycompany/funtionalityareaone"
as seem below in the calculateMetadata call:
/artifactory/api/maven/calculateMetadata/MyRepoKeyOne/com/mycompany/funtionalityareaone/
(the above "filter" in the url path works correctly for "calculateMetadata") (so hoping for a /violations mimic of these 2 filters)
..
an xray filter option like a
"impacted_artifacts_name_contains" (<< I have no idea if this actually exist)
would also be helpful.
..
But if I could get the "full documentation" on "/api/v1/violations" "filters", I could work from there.
I guess the 2 examples have "all the available" filter options..but . YOUCH. I'm fighting 429 errors with that one.
I even set my page size ("limit") to 1. I'm still getting 429 errors.
I even took out the "order_by" key/value and I'm getting 429 errors.
:(
Thanks.