I am trying to use this app to ingest vulnerabilities but it seems like I am getting rate-limited. Anyone else having this problem?
Thanks, that detail helps. Counts landing on exact thousands make me think this isn't a 429 at all. It looks more like the pull stops paginating early, either because it hits a page or result cap or because a run times out partway through, so you get N full pages and nothing after.
A few things to check:
index=<your_wiz_index> sourcetype=<your_wiz_vuln_sourcetype> earliest=-24h | stats count dc(<vuln_id_field>) as unique_vulns by severityIf unique_vulns sits on a round number while the Wiz console shows more, the pull is getting cut off.
index=_internal source=*wiz* | stats count latest(_time) as last_seen by source | convert ctime(last_seen)If DEBUG shows it stopping while Wiz still reports more pages, that's worth raising with the add-on maintainer, along with the exact counts from both sides.
Thanks for the feedback.
I am on Wiz Add-on For Splunk Version: 1.4.8 and the latest Splunk Enterprise10.4.x. Originally I had one input pulling once an hour, currently I have four inputs broken out by severity (Critical, High, Medium, and Low).
I am not getting from your search. I assumed it was being rate limited on the WIZ side because my results were coming by rounded off to the nearest thousand. (i.e. 75,000 Low severities) .
I haven't seen the add-on documentation spell this out, but full vulnerability pulls from the Wiz API are heavy, and a few things usually help. First, confirm it really is rate limiting and see when it happens:
index=_internal source=*wiz* (429 OR "rate limit" OR "Too Many Requests") | timechart span=15m countThen:
Which add-on version are you on, and what interval is the input set to?