Using API to retrieve tamper protection passwords

Hi, is there any guidance on how I can use the API in order to download a csv file containing all of our tamper protection passwords stored in central?

Thanks.

Top Replies

  • FormerMember
    FormerMember +2 verified

    Hi Ken Kleiner1

    Let me correct my previous reply on this thread.

    The following can be used as a starting point when querying for Tamper Protection passwords.

     

    $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"

    $headers.Add("X-Tenant-ID", "<Tenant-ID>")

    $headers.Add("Authorization", "Bearer <Authorization Token> ")

     

    $response = Invoke-RestMethod 'https://api-<CentralRegion>.central.sophos.com/endpoint/v1/endpoints/<EndpointID>/tamper-protection' -Method 'GET' -Headers $headers

    $response | ConvertTo-Json

     

     

    This was taken from the following page in our Endpoint API documentation. It will take some re-working with variables to change this so that it repeats for each of the <EndpointID> values, however, you can get a full list of endpoints at your site using this API Query.

    Please let us know if you have any other questions.

    Regards,

    Fernan Tutor

    Jump to answer
Parents Reply Children
No Data