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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...