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!

New Case Study: How LSU’s Student-Powered SOCs and Splunk Are Shaping the Future of ...

Louisiana State University (LSU) is shaping the next generation of cybersecurity professionals through its ...

Splunk and Fraud

Join us on November 13 at 11 am PT / 2 pm ET!Join us for an insightful webinar where we delve into the ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...