Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  Authentication Error while downloading SIEM logs using API

    Posted 02-16-2023 14:08

    While downloading SIEM logs using API using LogsDownloader.py script I am getting authentication error - Failed to download file. Response code is 401. 

    Authentication error SIEM

    #CloudWAF(formerlyIncapsula)

    ------------------------------
    Urvin Shah
    Senior Cybersecurity Consultant
    M.Tech Solutions (India) PRIVATE LIMITED
    Mumbai
    ------------------------------


  • 2.  RE: Authentication Error while downloading SIEM logs using API

    Posted 02-20-2023 06:03

    Hi Urvin,

    Hope you are well.

    This issue is generally caused by invalid API credentials, the best practice is to stop the script, reset the API key, update the setting.config file with the new API key, then start the log collection.

    If the issue persists after these steps please log a support case with all the details.

    Best regards,

    Ciaran



    ------------------------------
    Ciaran McAnespy
    Technical User
    Tel Aviv CA
    ------------------------------