All Apps and Add-ons

Incapsula WAF API Script Error

ucas_soc
Engager

Hi,

I am using the Incapsula WAF API Script to download the WAF logs.
I have updated the settings.config file with required parameters like API-ID, API-Key, etc.
There is no proxy involved.
After running the Logsdownloader Script, i am getting the below error:
ERROR Authorization error - Failed to download file. Response Code is 401.
File "LogsDownloader.py", line 128, in get_log_files
self.logs_file_index.download()
File "LogsDownloader.py", line 457, in download
file_content = self.file_downloader.request_file_content(self.config.BASE_URL + "logs.index")
File "LogsDownloader.py", line 587, in request_file_content
raise Exception("Authorization error")
Exception: Authorization error

Any help in fixing the error would be great.
Regards,
ucas_soc

0 Karma

jfeitosa_real
Path Finder

I have same problem.

0 Karma
Get Updates on the Splunk Community!

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...