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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...