Guest User!

You are not Sophos Staff.

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

Website Management sort order

Sophos Central needs a sort or search option to be able to look up if a site has been added I have 92 entries and they are not presented in an order that can be used for searching to see if there is an existing entry. Also the Entry window should have a drop down box to be able to pick existing tags to avoid typo's. Of course one of the drop down option needs to be add new.



This thread was automatically locked due to age.
Parents Reply
  • One thing that could help to manage this list (or call any of the APIs) would be:

    1. Install the Postman Extension in Chrome. 
    Any app that allows you to make requests is fine but this seems like a popular one.

    2. Login to Sophos Central and visit the Website management page, i.e. https://cloud.sophos.com/manage/endpoint/config/settings/websites-tagged 

    3. Hit F12 to open the Developer Tools of Chrome and switch to the Network view. 

    4. Click on the XHR button and add the text filter of "local-sites?", minus the quotes as a filter.
    As a result, when you refresh the website management page you see the API queries that return this data.

    5. Click on the Headers tab for the request and find the "Request headers" section and you should see the header:

    X-Hammer-Token: <token>

    6. In Postman add the address of the API, e.g.
    https://dzr-api-amzn-eu-west-1-9af7.api-upe.p.hmr.sophos.com/api/local-sites?limit=50&offset=0

    NOTE: If you are using a different region the first part will differ.


    7. Add the request header:
    X-Hammer-Token
    and and the value to be the <token>

    8. By default the UI must set a limit of 50 but from a quick test of adding 51 entries, I can change the URL to be:

    https://dzr-api-amzn-eu-west-1-9af7.api-upe.p.hmr.sophos.com/api/local-sites?limit=60&offset=0

    ...and all records are returned.  I assume the server has an upper limit before you have to set offsets.

    The Postman app will allow you to show/view the data in a variety of formats.

    Hope it helps document your entire list for you.

    Regards,

    Jak

Children
No Data