Sources
Add source to inventory
post/source/add
Request
- Base URLhttps://asm.cloud.tenable.com/api/1.0
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
as_subdomainboolean
If keyword is example.example.com and as_subdomain is true, we'll add everything under example.example.com including itself. Otherwise we'll add everything under example.com including itself.
dont_discoverboolean
If keyword is example.com and dont_discover is true, we won't perform subdomain discovery which means that only assets with hostname 'example.com' will be added.
is_elasticboolean
Set to true if assets in this source should be resolved to their current IP address each time when extracting data
Request body
Example request
{
"keyword": "domainname.com"
}Response
OK
Example response
{
"keyword": "domainname.com"
}Changes
No recorded changes to this operation across all 1 revision of this API.