This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos XG API "Authentication Failure"

Good morning all

I am having a problem with the sophos API.
Every time I run my script I get an "Authentication Failure" and I suspect there is a password problem but I can't find the correct password.
I think I have successfully recovered the user's password in the "Entities.xml" file but it does not work

Do you have an idea ?
thank you in advance



This thread was automatically locked due to age.
Parents Reply Children
  • FormerMember
    0 FormerMember in reply to lauwiks Cutman

    Assuming you've set 'toto12345AVR' password for API user. Please use the following command to get the encrypted password form:

    opcode GetEncripted_PasswordFor_API -t json -b '{"password":"toto12345AVR"}' -ds nosync

  • Hello ,
    I had found the solution in the meantime but there is a bug anyway because with this command it is not possible to use certain special characters
    the $ and *
    Certain characters cannot be put at the end of the password but they can be put in the middle of the password but the $ and * cannot be used