Auto extract domains in API
08 January 2023
Some of you are using the API to manage assets, and might have ran into a bug that actually is not a bug. If you add "www.shadowtrackr.com" or "test.shadowtrackr.com", the system will assume you only want to track that specific url and not the domain itself (or any other subdomains to be found).
If you do want to add the full domain and do discovery on it, then adding "shadowtrackr.com" as asset will do the trick. In the GUI this is easy and results are visible, but in the API things are less visible. To make things easy for API users, you can now add the flag "extract_domains": True to the
add_assets endpoint. This will automatically extract the pay level domain from any subdomain and add it for you. After this, discovery of other subdomains will start as usual.
See the updated
Github page for a python example.