{"openapi":"3.0.0","info":{"description":"Attack Surface Management API","version":"1.0.0","title":"Attack Surface Management"},"tags":[{"name":"Tags","description":"Interact with tags."},{"name":"Sources","description":"Access source lists and results."},{"name":"Assets","description":"List assets with IP address, hostname, port and unique hash."},{"name":"Assets Bulk Operations"},{"name":"Alerts","description":"Get alerts for subscriptions."},{"name":"Dashboard","description":"Access various data aggregates based on filters and columns"},{"name":"Subscriptions"},{"name":"Text Records","description":"Interact with TXT records"},{"name":"Global","description":"Interact with the system in general"},{"name":"Logs","description":"Interact with audit logs"},{"name":"Cloudflare Keys","description":"Interact with Cloudflare keys"},{"name":"Aws Keys","description":"Interact with AWS keys"},{"name":"Azure Keys","description":"Interact with Azure keys"},{"name":"Gcp Keys","description":"Interact with Google Cloud Platform keys"}],"paths":{"/export/download":{"post":{"tags":["Export"],"summary":"Download export","description":"Downloads the export associated with the specified token.","operationId":"io-asm-exports-download","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]}}},"required":true},"responses":{"200":{"description":"xlxs/csv file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"423":{"description":"string","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"string","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-swagger-router-controller":"Export"}},"/assets/export/xlsx":{"post":{"tags":["Export"],"summary":"Export assets in XLSX format","description":"Generates an export token that can be used to download assets data in XLSX format. You can use the [Download Export](ref:io-asm-exports-download) endpoint to download the export data with the token. Please note that the maximum number of assets that can be exported in this format is 100,000. HTML data will also be omitted due to size limitations. For larger exports, please consider exporting in a different format.","operationId":"io-asm-exports-assets-xlsx","requestBody":{"$ref":"#/components/requestBodies/io-asm-exports-assets-xlsxParams"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"token":{"type":"string"}}}}}},"500":{"description":"string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Export"}},"/assets/export/csv":{"post":{"tags":["Export"],"summary":"Export assets in CSV format","description":"Generates an export token that can be used to download assets data in CSV format. You can use the [Download Export](ref:io-asm-exports-download) endpoint to download the export data with the token.","operationId":"io-asm-exports-assets-csv","requestBody":{"$ref":"#/components/requestBodies/io-asm-exports-assets-xlsxParams"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"token":{"type":"string"}}}}}},"500":{"description":"string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Export"}},"/assets/export/json":{"post":{"tags":["Export"],"summary":"Export assets in JSON format","description":"Generates an export token that can be used to download assets data in JSON format. You can use the [Download Export](ref:io-asm-exports-download) endpoint to download the export data with the token.","operationId":"io-asm-exports-assets-json","requestBody":{"$ref":"#/components/requestBodies/io-asm-exports-assets-xlsxParams"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"token":{"type":"string"}}}}}},"500":{"description":"string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Export"}},"/sources/export/csv":{"post":{"tags":["Export"],"summary":"Export source list in CSV format","description":"Generates an export token that can be used to download the source list in CSV format. You can use the [Download Export](ref:io-asm-exports-download) endpoint to download the export data with the token.","operationId":"io-asm-exports-source-list-csv","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"token":{"type":"string"}}}}}},"500":{"description":"string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Export"}},"/sources/export/xlsx":{"post":{"tags":["Export"],"summary":"Export source list in XLSX format","description":"Generates an export token that can be used to download assets data in XLSX format. You can use the [Download Export](ref:io-asm-exports-download) endpoint to download the export data with the token. Please note that the maximum number of sources that can be exported in this format is 100,000.","operationId":"io-asm-exports-source-list-xlsx","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"token":{"type":"string"}}}}}},"500":{"description":"string","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Export"}},"/asset/bulkmove":{"post":{"tags":["Assets Bulk Operations"],"summary":"Move or copy specific assets","description":"Moves specified assets to the specified inventory, and archives the assets in the current inventory.","operationId":"io-asm-assets-bulk-move","requestBody":{"content":{"application/json":{"schema":{"required":["target_inventory_id","asset_ids"],"properties":{"target_inventory_id":{"type":"integer"},"asset_ids":{"type":"array","maxLength":100,"minLength":1,"items":{"type":"string"}},"copy_instead":{"type":"boolean","description":"When true, the assets will not be archived in the source inventory."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","example":"ok"}}}}}},"500":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/asset/bulkmovefilter":{"post":{"tags":["Assets Bulk Operations"],"summary":"Move or copy filtered assets","description":"Moves filtered assets to the specified inventory, and archives the assets in the current inventory.","operationId":"io-asm-assets-bulk-move-filter","requestBody":{"content":{"application/json":{"schema":{"required":["target_inventory_id","filters"],"properties":{"target_inventory_id":{"type":"integer"},"copy_instead":{"type":"boolean","description":"When true, the assets will not be archived in the source inventory."},"filters":{"$ref":"#/components/schemas/Filters"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","example":"ok"}}}}}},"500":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/inventory/limit":{"get":{"tags":["Inventory"],"summary":"Get the asset limit of the current inventory","operationId":"getAssetLimit","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"asset_limit":{"type":"number"},"limit_reached":{"type":"boolean"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/inventory":{"post":{"tags":["Inventory"],"summary":"List the assets in your Inventory","operationId":"globalSearch","parameters":[{"name":"offset","in":"query","description":"The number of assets to skip before starting to collect the result set.","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of assets to return.","required":true,"schema":{"type":"integer","minimum":1,"maximum":10000}},{"name":"after","in":"query","description":"The last asset id from the last page, used during large paging. If after is set, offset will be ignored, and the stats and total response fields are omitted.","schema":{"type":"string"}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}},{"name":"columns","in":"query","description":"List of columns to return divided by a comma","schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Filters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"total":{"type":"number"},"hiddenCount":{"description":"Number of hidden assets","type":"number"},"stats":{"type":"object","properties":{"domaincount":{"type":"number"},"subdomaincount":{"type":"number"},"total":{"type":"number"},"hostcount":{"type":"number"},"ipcount":{"type":"number"}}},"freeLimitReached":{"type":"boolean"},"sortAfter":{"type":"string"},"sortBefore":{"type":"string"},"assets":{"description":"The selected source's assets","type":"array","items":{"$ref":"#/components/schemas/Asset"}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/inventory/current":{"patch":{"tags":["Inventory"],"summary":"Edit current inventory name and description.","operationId":"editCurrentInventory","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"Bit Discovery Inventory","maxLength":255},"description":{"type":"string","example":"This is an example Inventory."},"source_suggestions":{"type":"number","example":"1"},"enumeration_wordlist":{"type":"string","example":"custom","maxLength":60}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"name":{"type":"string","example":"Bit Discovery Inventory"},"description":{"type":"string","example":"This is an example Inventory."},"source_suggestions":{"type":"number","example":1},"enumeration_wordlist":{"type":"string","example":"custom"}}}}}},"400":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/dashboard":{"post":{"tags":["Dashboard"],"summary":"Access aggregate data","operationId":"getBuckets","parameters":[{"name":"columns","in":"query","description":"List of columns to return divided by a comma. Only the first 10 columns will be considered.","required":true,"schema":{"type":"string"}},{"name":"hideNoneField","in":"query","description":"Hide the None field in the response","schema":{"type":"boolean"}}],"requestBody":{"$ref":"#/components/requestBodies/Filters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"stats":{"type":"object","properties":{"domaincount":{"type":"number"},"subdomaincount":{"type":"number"},"total":{"type":"number"},"hostcount":{"type":"number"},"ipcount":{"type":"number"}}},"aggregations":{"description":"Aggregations for the specified columns","type":"array","items":{"type":"object","properties":{"column":{"type":"string","example":"ipgeo.asn"},"interval":{"type":"string","example":"1d","description":"Returned in case of date-type aggregations, where a bucket is to be perceived as a date range."},"data":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"Google LLC"},"value":{"type":"number","example":43560}},"required":["name","value"]}}}}}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Dashboard"}},"/inventories/create":{"post":{"tags":["Inventory"],"summary":"Create a new inventory","operationId":"createInventory","parameters":[{"name":"inventory_name","in":"query","required":true,"description":"Inventory name","schema":{"type":"string","maxLength":255}},{"name":"template_inventory_id","in":"query","description":"inherit properties from this inventory","schema":{"type":"number"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"inventory_id":{"type":"integer"},"inventory_name":{"type":"string"},"api_key":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/inventories/list":{"get":{"tags":["Inventory"],"summary":"Get user inventories","operationId":"getInventories","parameters":[{"name":"offset","in":"query","description":"The number of inventories to skip","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of inventories return","schema":{"type":"integer","default":25}},{"name":"search","in":"query","description":"Searching within search keywords","schema":{"type":"string"}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}},{"name":"include_suggestion_count","in":"query","description":"Whether to include the number of suggestions.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"list":{"description":"All user inventories with data in a json object","type":"array","items":{"type":"object","properties":{"inventory_id":{"type":"integer","description":"The inventory ID."},"current_asset_count":{"type":"integer","description":"Asset numbers to inventories."},"inventory_name":{"type":"string","description":"The inventory name"},"source_suggestions":{"type":"number","description":"1 if the inventory has source suggestions enabled","example":1},"business_id":{"type":"number","example":1},"api_key":{"type":"string","description":"Api key"},"enumeration_wordlist":{"type":"string","example":"custom","description":"Enumeration wordlist id from the predefined.json file"},"has_custom_wordlist":{"type":"boolean","example":true,"description":"True if the inventory has an uploaded custom wordlist"},"users_total":{"type":"number","example":1},"app_refresh_rate_days":{"type":"integer","description":"Number of days over which to spread the refresh cycle for assets. Inherited from the business.","example":1},"is_default":{"type":"boolean","description":"True if this inventory is set as the user's default inventory"}},"required":["inventory_id","current_asset_count","inventory_name","source_suggestions","business_id","api_key","enumeration_wordlist","has_custom_wordlist","is_default"]}},"total":{"description":"Count of user inventories","type":"integer"},"actualInventory":{"description":"Current inventory data in a json object","type":"object","properties":{"inventory_id":{"type":"integer","description":"The inventory ID."},"inventory_name":{"type":"string","description":"The inventory name"},"current_asset_count":{"type":"integer","description":"Asset numbers to inventories."},"source_suggestions":{"type":"number","description":"1 if the inventory has source suggestions enabled","example":1},"api_key":{"type":"string","description":"Api key"},"ext_container_id":{"type":"string"},"notes":{"type":"string"},"users_total":{"type":"integer"},"suggestions_count":{"type":"integer"},"html_custom_column_enabled":{"type":"boolean"},"description":{"type":"string"},"business_id":{"type":"number","example":1},"is_default":{"type":"boolean","example":true,"description":"True if this inventory is set as the user's default inventory"}},"required":["inventory_id","inventory_name","current_asset_count","source_suggestions","api_key","users_total","suggestions_count","html_custom_column_enabled","description","business_id","is_default"]},"unseen_suggestions":{"description":"Number of unseen suggestions","type":"integer"},"default_inventory_id":{"description":"ID of the user's default inventory","type":"integer","example":1}},"required":["actualInventory","list","total"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/inventories/delete":{"post":{"tags":["Inventory"],"summary":"Leave the given inventory.","description":"Removes the current user from the given inventory.","operationId":"leaveInventory","parameters":[{"name":"inventory_id","in":"query","required":true,"description":"Inventory id","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"numberOfRowsDeleted":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/alerts":{"get":{"tags":["Alerts"],"summary":"Get subscription alerts","operationId":"getAlerts","parameters":[{"name":"offset","in":"query","description":"The number of alerts to skip","schema":{"type":"number"}},{"name":"limit","in":"query","description":"The number of alerts return","schema":{"type":"number","default":25}},{"name":"date","in":"query","description":"Filter alerts by date, like 2019-08-08","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","default":[],"items":{"type":"object","properties":{"id":{"type":"integer"},"smart_folder_id":{"type":"integer"},"new_assets":{"type":"integer"},"date":{"type":"string","example":"2001-01-01T00:00:00.000Z"}}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Alerts"}},"/smartfolders":{"get":{"tags":["Subscriptions"],"summary":"Get subscriptions from store","operationId":"getSmartFolders","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","name","filters"],"properties":{"id":{"type":"integer"},"template_id":{"type":"integer"},"name":{"type":"string"},"filters":{"$ref":"#/components/schemas/Filters"},"description":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"currentAssetCount":{"type":"integer"},"notifications":{"type":"array","items":{"type":"object","required":["type","enabled"],"properties":{"type":{"type":"string","enum":["email","slack","servicenow"]},"email":{"type":"string","format":"email"},"webhookUrl":{"type":"string","example":"https://hooks.slack.com/services/*","description":"To be used for Slack integration."},"enabled":{"type":"boolean"}}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolder/{id}":{"get":{"tags":["Subscriptions"],"summary":"Get subscription from store by ID","operationId":"getSmartFolder","parameters":[{"name":"id","in":"path","description":"Subscription ID","required":true,"schema":{"type":"integer"}},{"name":"offset","in":"query","description":"The number of assets to skip before starting to collect the result set.","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of assets to return.","required":true,"schema":{"type":"integer","minimum":1,"maximum":10000}},{"name":"after","in":"query","description":"The last asset id from the last page, used during large paging. If after is set, offset will be ignored, and the stats and total response fields are omitted.","schema":{"type":"string"}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}},{"name":"columns","in":"query","description":"List of columns to return divided by a comma","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"sortAfter":{"type":"string"},"sortBefore":{"type":"string"},"freeLimitReached":{"type":"boolean"},"assets":{"description":"The selected source's assets","type":"array","items":{"$ref":"#/components/schemas/Asset"}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolder/{id}/recent":{"get":{"tags":["Subscriptions"],"summary":"Get assets recently added to smartfolder specified by ID","operationId":"getSmartFolderRecent","parameters":[{"name":"id","in":"path","description":"Subscription ID","required":true,"schema":{"type":"integer"}},{"name":"offset","in":"query","description":"The number of assets to skip before starting to collect the result set.","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of assets to return.","required":true,"schema":{"type":"integer","minimum":1,"maximum":10000}},{"name":"after","in":"query","description":"The last asset id from the last page, used during large paging. If after is set, offset will be ignored, and the stats and total response fields are omitted.","schema":{"type":"string"}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}},{"name":"columns","in":"query","description":"List of columns to return divided by a comma","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"sortAfter":{"type":"string"},"sortBefore":{"type":"string"},"freeLimitReached":{"type":"boolean"},"assets":{"description":"The selected source's assets","type":"array","items":{"$ref":"#/components/schemas/Asset"}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolder/{id}/history":{"get":{"tags":["Subscriptions"],"summary":"Get the subscription history by ID","operationId":"getSmartFolderHistory","parameters":[{"name":"id","in":"path","description":"Subscription iD","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"history":{"type":"array","items":{"type":"object","properties":{"smartfolderday":{"type":"string","format":"date-time"},"added":{"type":"integer"},"removed":{"type":"integer"},"sum":{"type":"integer"}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolder/create":{"post":{"tags":["Subscriptions"],"summary":"Add a new subscription to the store","operationId":"createSmartFolder","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","filters","currentAssetCount"],"properties":{"template_id":{"type":"integer"},"name":{"type":"string"},"currentAssetCount":{"type":"integer"},"filters":{"$ref":"#/components/schemas/Filters"},"extra":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"}},"view":{"type":"string","example":"table"},"groupByType":{"type":"string","enum":["id","bd.original_hostname","bd.ip_address"],"example":"id"},"details":{"type":"string"},"exploit_cost":{"type":"number"},"fix_cost":{"type":"number"},"exploit_likelihood":{"type":"number"},"exploitation_duration":{"type":"number"},"severity":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW","INFO"]}},"required":["columns","view"],"default":{"columns":[],"view":"table"}}}}}},"description":"Applied filters","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolder/{id}/edit":{"post":{"tags":["Subscriptions"],"summary":"Edit subscription by id","operationId":"editSmartFolder","parameters":[{"name":"id","in":"path","description":"Subscription ID","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the folder"},"description":{"type":"string","description":"Description of the folder"},"notifications":{"type":"array","items":{"type":"object","required":["type","enabled"],"properties":{"type":{"type":"string","enum":["email","slack","servicenow"]},"email":{"type":"string","format":"email"},"webhookUrl":{"type":"string","example":"https://hooks.slack.com/services/*","description":"To be used for Slack integration."},"enabled":{"type":"boolean"}}}},"filters":{"$ref":"#/components/schemas/Filters"},"extra":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"}},"view":{"type":"string","example":"table"},"details":{"type":"string"},"exploit_cost":{"type":"number"},"fix_cost":{"type":"number"},"exploit_likelihood":{"type":"number"},"exploitation_duration":{"type":"number"},"severity":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW","INFO"]},"groupByType":{"type":"string","enum":["id","bd.original_hostname","bd.ip_address"],"example":"id"}}}}}}},"description":"Subscription data","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"affectedRows":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolders/bulkedit":{"post":{"tags":["Subscriptions"],"summary":"Edit a set of subscriptions","operationId":"editBulkSmartFolders","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ids","update"],"properties":{"ids":{"type":"array","description":"Array of SmartFolder IDs to modify.","items":{"type":"integer"}},"update":{"type":"object","description":"The common fields and values to be applied to ALL specified SmartFolders.","properties":{"notifications":{"type":"array","items":{"type":"object","required":["type","enabled"],"properties":{"type":{"type":"string","enum":["email","slack","servicenow"]},"email":{"type":"string","format":"email"},"webhookUrl":{"type":"string","example":"https://hooks.slack.com/services/*","description":"To be used for Slack integration."},"enabled":{"type":"boolean"}}}}}}}}}},"description":"List of subscription IDs and data to update","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"affectedRows":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolder/{id}/delete":{"post":{"tags":["Subscriptions"],"summary":"Remove a subscription from the store","operationId":"deleteSmartFolder","parameters":[{"name":"id","in":"path","description":"Subscription ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"numberOfRowsDeleted":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/smartfolders/bulkdelete":{"post":{"tags":["Subscriptions"],"summary":"Remove a subscriptions in bulk from the store","operationId":"deleteBulkSmartFolders","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"},"description":"Array of subscription IDs"}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"},"description":"Array of subscription IDs"}}}},"application/octet-stream":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"},"description":"Array of subscription IDs"}}}}},"description":"List of Subscription IDs to delete","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"numberOfRowsDeleted":{"type":"integer"}}}}}},"204":{"description":"No Content - No smart folders were deleted."},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"SmartFolders"}},"/tags":{"get":{"tags":["Tags"],"summary":"Get tags from store","operationId":"getPortfolios","parameters":[{"name":"recent","in":"query","description":"Return only the 10 most recently updated tags","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","value_type","name"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"order":{"type":"integer"},"updated_at":{"type":"string","format":"date-time"},"hash":{"type":"string"},"value_type":{"type":"string","nullable":true}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tag/create":{"post":{"tags":["Tags"],"summary":"Add a new tag to the store","operationId":"portfolioCreate","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"type":"string"},"value_type":{"description":"Omit this field to create a normal Tag. If set, the created Tag will appear as a Custom Column on the UI.","type":"string","enum":["keyword","number","date","percentage","cost","boolean","fulltext"]}},"required":["name"]}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"order":{"type":"integer"},"name":{"type":"string"},"value_type":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tag/{id}/delete":{"post":{"tags":["Tags"],"summary":"Delete tag from store","operationId":"deletePortfolio","parameters":[{"name":"id","in":"path","description":"Tag ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"numberOfRowsDeleted":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tag/{id}/edit":{"post":{"tags":["Tags"],"summary":"Edit tag by id","operationId":"editPortfolio","parameters":[{"name":"id","in":"path","description":"Tag ID","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"name":{"description":"Name of the tag","type":"string"}},"required":["name"]}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"affectedRows":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tags/search":{"post":{"tags":["Tags"],"summary":"Search tags by name","operationId":"searchPortfolio","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"keyword":{"type":"string"}},"required":["keyword"]}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"order":{"type":"integer"},"hash":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"value_type":{"type":"string"}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tags/bulkadd":{"post":{"tags":["Tags"],"summary":"Add all assets to all tags","operationId":"addAssetsToPortfolios","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["asset_ids","tags"],"properties":{"asset_ids":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"number","example":42},"value":{"example":"Example Tag Value, can either be a string, number, boolean, ISO date string, fulltext or undefined."}}}}}}}},"description":"Append all assets to all tags","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"added":{"type":"integer"},"notFound":{"type":"array","items":{"type":"string"}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tags/bulkremove":{"post":{"tags":["Tags"],"summary":"Remove all assets from all tags","operationId":"removeAssetsFromPortfolios","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["asset_ids","tags"],"properties":{"asset_ids":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"number","example":42}}}}}}}},"description":"Remove all assets from all tags","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"removed":{"type":"integer"},"notFound":{"type":"array","items":{"type":"string"}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tags/bulkaddfilter":{"post":{"tags":["Tags"],"summary":"Add all assets to all tags using a filter","operationId":"addAssetsToPortfoliosFilter","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["tags","filters"],"properties":{"tags":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"number","example":42},"value":{"example":"Example Tag Value, can either be a string, number, boolean, ISO date string, fulltext or undefined."}}}},"filters":{"$ref":"#/components/schemas/Filters"}}}}},"description":"Append all assets to all tags","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"added":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/tags/bulkremovefilter":{"post":{"tags":["Tags"],"summary":"Remove all assets from all tags using a filter","operationId":"removeAssetsFromPortfoliosFilter","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["tags","filters"],"properties":{"tags":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"number","example":42}}}},"filters":{"$ref":"#/components/schemas/Filters"}}}}},"description":"Remove all assets from all tags","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"removed":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Portfolios"}},"/sources":{"get":{"tags":["Sources"],"summary":"List of Sources","operationId":"asm-sources-list","description":"Retrieve a list of sources in your inventory.\n","parameters":[{"$ref":"#/components/parameters/Query_Offset"},{"$ref":"#/components/parameters/Query_Limit"},{"name":"sortby","in":"query","description":"Sort by criteria:\n  * abc - Alphabetical sort based on source keyword, ascending order\n  * count - Sort based on fetched result count, descending order\n  * count_asc - Sort based on fetched result count, ascending order\n  * txt_count - Sort based on TXT records fetched count, descending order\n  * txt_count_asc - Sort based on TXT records fetched count, ascending order\n  * recency - Default sorting, descending order\n","schema":{"type":"string","enum":["abc","count","count_asc","txt_count","txt_count_asc","recency"]}},{"name":"search","in":"query","description":"Searching within source keywords","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully returned the list of sources.","content":{"application/json":{"schema":{"type":"object","properties":{"searches":{"description":"Result source data in an array","type":"array","items":{"type":"object","description":"Singular source data in a JSON object","properties":{"id":{"description":"The ID of the source","type":"integer"},"keyword":{"description":"The keyword that was added when the source was created","type":"string"},"search_type":{"description":"The type of the sources:\n  * keyword - Keyword source type\n  * domain - Domain source type\n  * ip - IP address source type\n  * iprange - IP address range source type\n  * moved - Source type for assets that were moved from other inventories\n  * literal - Literal source type\n  * cloudflare - Cloudflare source type\n  * aws - AWS source type\n  * gcp - Google Cloud Platform\n  * azure - Microsoft Azure\n","type":"string","enum":["keyword","domain","ip","iprange","moved","literal","cloudflare","aws","gcp","azure","asn"]},"searchparams":{"description":"Legacy property","type":"string"},"dbdate":{"description":"The dbdate of the source","type":"integer"},"results_count":{"description":"The number of results in the source","type":"integer"},"results_fetched":{"description":"The number of fetched results in the source","type":"integer"},"company_id":{"description":"The ID of the sources' inventory","type":"integer"},"created_at":{"description":"Timestamp of the creation of the source","type":"string","format":"date-time"},"updated_at":{"description":"Timestamp of the last update that happended on the source","type":"string","format":"date-time"},"deleted_at":{"description":"Timestamp when the source was deleted","type":"string","format":"date-time"},"screenshot":{"description":"URL that points to the screenshot of the source","type":"string"},"limited_result":{"description":"A flag that indicates if the source has reached the limits defined by the license.","type":"integer","enum":[0,1]},"txt_records_fetched":{"description":"The number of TXT records fetched for the source","type":"integer"},"is_elastic":{"description":"Indicates whether or not the source is an elastic source or not","type":"boolean"}},"required":["id","keyword","search_type","results_count","results_fetched","created_at","company_id","limited_result","txt_records_fetched","is_elastic"]}},"total":{"description":"Count of the total number of sources in your inventory","type":"integer"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"500":{"$ref":"#/components/responses/InternalError"}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/add":{"post":{"tags":["Sources"],"summary":"Add source to inventory","operationId":"createSearch","parameters":[{"name":"as_subdomain","in":"query","description":"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.","schema":{"type":"boolean"}},{"name":"dont_discover","in":"query","description":"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.","schema":{"type":"boolean"}},{"name":"is_elastic","in":"query","description":"Set to true if assets in this source should be resolved to their current IP address each time when extracting data","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string","example":"domainname.com"}}}}},"description":"Source domain name","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"domainname.com"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"500":{"$ref":"#/components/responses/InternalError"}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/ip/add":{"post":{"tags":["Sources"],"summary":"Add an IP source to inventory","operationId":"createIPSource","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ip"],"properties":{"ip":{"type":"string","example":"199.43.133.53/24"}}}}},"description":"IP address or range","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"199.43.133.0 - 199.43.133.255"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/cloudflare/add":{"post":{"tags":["Sources"],"summary":"Add source to inventory","operationId":"createCloudflareSource","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["key_id","zone"],"properties":{"key_id":{"type":"number","example":7224},"zone":{"type":"string","example":"bitdiscovery.com"}}}}},"description":"Cloudflare key id","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"bitdiscovery.com"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified Cloudflare key id was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/aws/add":{"post":{"tags":["Sources"],"summary":"Add source to inventory","operationId":"createAwsSource","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["key_id","name"],"properties":{"key_id":{"type":"number","example":7224},"name":{"type":"string","example":"bitdiscovery.com"}}}}},"description":"AWS key id","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"bitdiscovery.com"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified AWS key id was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/azure/add":{"post":{"tags":["Sources"],"summary":"Add an Azure based source to the inventory","operationId":"createAzureSource","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["key_id"],"properties":{"key_id":{"type":"number","example":7224}}}}},"description":"The ID of the Azure integration in the business","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"bitdiscovery.com"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified Azure key id was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/asn/add":{"post":{"tags":["Sources"],"summary":"Add an ASN source to inventory","operationId":"createASNSource","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["asn"],"properties":{"asn":{"type":"number","example":7224}}}}},"description":"AS number","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"AMAZON-AS - AS7224"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/tld/add":{"post":{"tags":["Sources"],"summary":"Add a TLD source to inventory","operationId":"createTLDSource","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["tld"],"properties":{"tld":{"type":"string","example":"com"}}}}},"description":"TLD","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"com"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/sources/ip/add":{"post":{"tags":["Sources"],"summary":"Add multiple IP sources","operationId":"massCreateIP","requestBody":{"content":{"application/json":{"schema":{"type":"array","maxItems":100,"items":{"type":"string","example":"199.43.133.0-199.43.133.255"}}}},"description":"The IP addresses or ranges","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","example":13},"keyword":{"type":"string","example":"199.43.133.0 - 199.43.133.255"},"alreadyAdded":{"type":"string","example":"IP address or range already exists in your Inventory."}},"required":["id"]}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/sources/cloudflare/add":{"post":{"tags":["Sources"],"summary":"Add multiple cloudflare sources from all the zones that the given API key has access to.","operationId":"massCreateCloudflare","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["key_id"],"properties":{"key_id":{"type":"number","example":12}}}}},"description":"CloudflareKey ID"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"keyword":{"type":"string","example":"bitdiscovery.com"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"dbdate":{"type":"integer"}}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified Cloudflare key id was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/{id}":{"post":{"tags":["Sources"],"summary":"Get the source by id","operationId":"getSearch","parameters":[{"name":"id","in":"path","description":"Source ID","required":true,"schema":{"type":"integer"}},{"name":"offset","in":"query","description":"The number of assets to skip before starting to collect the result set.","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of assets to return.","required":true,"schema":{"type":"integer","minimum":1,"maximum":10000}},{"name":"after","in":"query","description":"The last asset id from the last page, used during large paging. If after is set, offset will be ignored, and the stats and total response fields are omitted.","schema":{"type":"string"}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}},{"name":"columns","in":"query","description":"List of columns to return divided by a comma","schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Filters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"keyword":{"type":"string"},"search_type":{"type":"string"},"results_count":{"type":"integer"},"results_fetched":{"type":"integer"},"searchparams":{"type":"string"},"dbdate":{"type":"integer"},"sortAfter":{"type":"string"},"sortBefore":{"type":"string"},"freeLimitReached":{"type":"boolean"},"total":{"type":"number"},"assets":{"description":"The selected source's assets","type":"array","items":{"$ref":"#/components/schemas/Asset"}},"is_elastic":{"type":"boolean"},"hiddenCount":{"description":"Number of hidden assets","type":"number"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/source/{id}/delete":{"post":{"tags":["Sources"],"summary":"Delete the source by id","operationId":"deleteSearch","parameters":[{"name":"id","in":"path","description":"Source ID","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/sources/add":{"post":{"tags":["Sources"],"summary":"Add multiple sources","operationId":"massCreate","parameters":[{"name":"as_subdomains","in":"query","description":"If a keyword is example.example.com and as_subdomains is true, we'll add everything under example.example.com including itself. Otherwise we'll add everything under example.com including itself.","schema":{"type":"boolean"}},{"name":"dont_discover","in":"query","description":"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.","schema":{"type":"boolean"}},{"name":"is_elastic","in":"query","description":"Set to true if assets in these sources should be resolved to their current IP address each time when extracting data","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","example":"example.com"}}}},"description":"The domain names","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","example":13},"keyword":{"type":"string","example":"example.com"},"warning":{"type":"string","example":"This domain name (bad.com) is invalid."},"alreadyAdded":{"type":"string","example":"The source example.com is already in your inventory."},"invalid":{"type":"string","example":"The provided keyword test.test does not contain any valid domain name or the domain name is not permitted."},"blacklisted":{"type":"string","example":"This domain name blacklisted.com is blacklisted."}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/sources/delete":{"post":{"tags":["Sources"],"summary":"Delete multiple sources","operationId":"massDelete","requestBody":{"content":{"application/json":{"schema":{"type":"array","minItems":1,"maxItems":1000,"items":{"type":"number","example":13}}}},"description":"The IDs of the sources to delete.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","example":"ok"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Searches"}},"/assets":{"post":{"tags":["Assets"],"summary":"List assets","operationId":"io-asm-assets-list","description":"Returns a list of assets.","parameters":[{"name":"columns","in":"query","description":"List of columns to return divided by a comma","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"description":"The list of asset IDs","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Asset"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/asset/{id}":{"get":{"tags":["Assets"],"summary":"Get asset details","operationId":"io-asm-assets-details","description":"Returns details for the specified asset.","parameters":[{"name":"id","in":"path","description":"Asset ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/asset/{id}/history":{"get":{"tags":["Assets"],"summary":"Get asset history","operationId":"io-asm-assets-history","description":"Returns the history for the specified asset.","parameters":[{"name":"id","in":"path","description":"Asset ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","example":"Time of the event"},"event":{"type":"string","example":"Event description"}}}}}}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/asset/hide":{"post":{"tags":["Assets Bulk Operations"],"summary":"Archive or unarchive assets","description":"Archives or unarchives specific assets.","operationId":"io-asm-assets-bulk-archive","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hidden":{"type":"boolean"}},"required":["id","hidden"]},"example":[{"id":"hash","hidden":true}]}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"status":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/asset/hidefilter":{"post":{"tags":["Assets Bulk Operations"],"summary":"Archive or unarchive filtered assets","description":"Archives or unarchives all assets matching the specified filter. If `hidden:true` is specified as a filter, the assets will be unarchived.","operationId":"io-asm-assets-archive-bulk-filter","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Filters"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"status":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/hiddenassets":{"post":{"tags":["Assets"],"summary":"List archived asset results","description":"Returns a list of archived asset results.","operationId":"io-asm-assets-archived-list","parameters":[{"name":"offset","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":10000}},{"name":"after","in":"query","description":"The last asset id from the last page, used during large paging. If after is set, offset will be ignored, and the stats and total response fields are omitted.","schema":{"type":"string"}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}},{"name":"columns","in":"query","description":"List of columns to return divided by a comma","schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Filters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"sortAfter":{"type":"string"},"sortBefore":{"type":"string"},"freeLimitReached":{"type":"boolean"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/Asset"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/asset/{id}/severity-breakdown":{"get":{"tags":["Assets"],"summary":"Get the severity breakdown for the specified asset","operationId":"getSeverityBreakdown","parameters":[{"name":"id","in":"path","description":"Asset ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["severity_ranking","severity_breakdown"],"properties":{"severity_ranking":{"type":"string","example":"critical","enum":["critical","high","medium","low","none"]},"severity_breakdown":{"type":"object","description":"An object containing criteria used for determining the severity ranking.","additionalProperties":true,"properties":{"criteria-name":{"type":"string","example":"Criteria description."}}},"highest_cve":{"type":"object","description":"An object containing the ID and score of the CVE with the highest CVSSv3 score.","properties":{"cve":{"type":"string","example":"CVE-111-2222"},"cvss3_score":{"type":"number","example":7.5}}}}}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Assets"}},"/suggestions/list":{"post":{"tags":["Suggestions"],"summary":"Get current inventory suggestions list","operationId":"getSuggestionsList","parameters":[{"name":"offset","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1}},{"name":"is_archived","in":"query","required":true,"schema":{"type":"boolean"}},{"name":"sortby","in":"query","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean"}}],"requestBody":{"$ref":"#/components/requestBodies/getSuggestionsListFilters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"suggestions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"suggestion_text":{"type":"string"},"suggestion_type":{"type":"string"},"suggestion_details":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"object","properties":{"rule":{"type":"string"},"description":{"type":"string"}}}}}},"created_at":{"type":"string"},"deleted_at":{"type":"string"}}}},"total":{"type":"number","description":"Number of suggestions"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Suggestions"}},"/suggestions/count":{"post":{"tags":["Suggestions"],"summary":"Count all suggestions of inventory with filters applied","operationId":"getSuggestionCount","parameters":[{"name":"is_archived","in":"query","required":true,"schema":{"type":"boolean"}}],"requestBody":{"$ref":"#/components/requestBodies/getSuggestionsListFilters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"count":{"type":"number","description":"The number of suggestions that match the filters"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Suggestions"}},"/suggestions/accept":{"post":{"tags":["Suggestions"],"summary":"Accept suggestions","operationId":"acceptSuggestions","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ids"],"properties":{"inventory_id":{"type":"number"},"ids":{"type":"array","default":[],"items":{"type":"number"}},"filters":{"type":"array","default":[],"items":{"type":"object","properties":{"column":{"type":"string","example":"created_at"},"type":{"type":"string","example":"less than"},"value":{"type":"string","example":"2"},"endLabel":{"type":"string","example":"days ago"}}}}}}}},"description":"Suggestions ids to accept. If ids is empty, every suggestion will be accepted that matches search.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"accepted":{"type":"number","description":"The number of suggestions that was accepted"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Suggestions"}},"/suggestions/decline":{"post":{"tags":["Suggestions"],"summary":"Decline suggestions","operationId":"declineSuggestions","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ids"],"properties":{"ids":{"type":"array","default":[],"items":{"type":"number"}},"filters":{"type":"array","default":[],"items":{"type":"object","properties":{"column":{"type":"string","example":"created_at"},"type":{"type":"string","example":"less than"},"value":{"type":"string","example":"2"},"endLabel":{"type":"string","example":"days ago"}}}}}}}},"description":"Suggestions ids to decline. If ids is empty, every suggestion will be declined that matches search.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"declined":{"type":"number","description":"The number of suggestions that was declined"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Suggestions"}},"/txt-records/search":{"post":{"tags":["Text Records"],"description":"Search txt records","operationId":"searchTxtRecords","parameters":[{"name":"source_id","in":"query","description":"Fetch TXT records that belong to this source","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"The number of records to skip from the beginning.","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of records to return.","schema":{"type":"integer","default":25}},{"name":"sortby","in":"query","description":"Sort by column name","schema":{"type":"string"}},{"name":"sortorder","in":"query","description":"Sort order, ASC if true, DESC if false","schema":{"type":"boolean","default":true}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","description":"Applied filters, txt records do not support complex queries","items":{"type":"object","properties":{"column":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"}}}}}},"description":"Filters","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer"},"txt_records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"value":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/columns":{"get":{"tags":["Global"],"summary":"List asset properties.","operationId":"getAvailableColumns","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"}}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"string","example":"Hostnames should only contain alphanumeric characters and dashes."}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"string","example":"Could not connect to Auth0 with provided credentials."}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"string","example":"Access denied."}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Global"}},"/user-action-logs":{"post":{"tags":["Logs"],"summary":"Get user action logs from store.","operationId":"getUserActionLogs","parameters":[{"name":"actor_id","in":"query","description":"Filter log items based on the ID of the user who committed the action.","schema":{"type":"integer"}},{"name":"offset","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","default":25}}],"requestBody":{"$ref":"#/components/requestBodies/Filters"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"list":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"action":{"type":"string"},"target":{"type":"string"},"actor":{"type":"string"},"actor_id":{"type":"integer"},"inventory_id":{"type":"integer"},"description_values":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}}},"total":{"type":"integer"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"Logs"}},"/business/cloudflare-keys":{"post":{"tags":["Cloudflare Keys"],"summary":"Create Cloudflare key","description":"Creates a new Cloudflare key in the business of the current user.","operationId":"createCloudflareKey","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"A name for the Cloudflare key."},"api_key":{"type":"string","description":"The Cloudflare API key."}},"required":["api_key","name"]}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully created the Cloudflare key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the newly created Cloudflare key."}}}}}},"401":{"description":"Returned if you do not have permissions to create a Cloudflare key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if no name was provided for the Cloudflare key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"CloudflareKeys"},"get":{"tags":["Cloudflare Keys"],"summary":"List Cloudflare keys","description":"Returns all Cloudflare key related data for the business of the current user. The data includes the name and ID of each Cloudflare key.","operationId":"getCloudflareKeysData","responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully retrieved the list of Cloudflare keys for the business of the current user.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the Cloudfare key."},"name":{"type":"string","description":"The name of the Cloudflare key."}},"required":["id","name"]}}}}},"401":{"description":"Returned if you do not have permissions to list Cloudflare keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"CloudflareKeys"}},"/business/cloudflare-keys/{id}":{"post":{"tags":["Cloudflare Keys"],"summary":"Update Cloudflare key","description":"Updates the specified Cloudfare key.","operationId":"modifyCloudflareKey","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the Cloudflare key to update.","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"A new name for the Cloudflare key."}}}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully received the request to update the specified Cloudflare key.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether Tenable Attack Surface Management successfully updated the specified Cloudflare key or not."}}}}}},"401":{"description":"Returned if you do not have permissions to update Cloudflare keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find the specified Cloudflare key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"CloudflareKeys"},"delete":{"tags":["Cloudflare Keys"],"summary":"Delete Cloudflare key","description":"Deletes the specified Cloudflare key.","operationId":"deleteCloudflareKey","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the Cloudflare key to delete.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully received the request to delete the specified Cloudflare key.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether Tenable Attack Surface Management successfully deleted the specified Cloudflare key or not."}}}}}},"401":{"description":"Returned if you do not have permissions to delete Cloudflare keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find specified Cloudflare key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"CloudflareKeys"}},"/business/cloudflare-keys/{id}/zones":{"get":{"tags":["Cloudflare Keys"],"summary":"List zones","description":"Returns a list of zones for the specfiied ID.","operationId":"getCloudflareKeyZones","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the Cloudflare key to retrieve zones for.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully retrieved the list of zones for the specified ID.","content":{"application/json":{"schema":{"type":"object","properties":{"zones":{"type":"array","items":{"type":"object","properties":{"zone":{"type":"string"},"source_id":{"type":"integer"}},"required":["zone","source_id"]}}}}}}},"401":{"description":"Returned if you do not have permissions to list zones.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"CloudflareKeys"}},"/business/aws-keys/keyless":{"post":{"tags":["Aws Keys"],"summary":"Create AWS key with keyless authentication","description":"Creates a new AWS (Amazon Web Services) integration with keyless authentication in the business of the current user.","operationId":"createKeylessAWSKey","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"A name for the AWS key."},"role_arn":{"type":"string","description":"The ARN of the AWS Role that can be assumed by ASM during the ingestion of the AWS cloud assets."}},"required":["role_arn","name"]}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully created the AWS key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the newly created AWS key."},"external_id":{"type":"string","description":"The External ID that the integration is going to use during the role assumption."}},"required":["id","external_id"]}}}},"401":{"description":"Returned if you do not have permissions to create an AWS key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AWSKeys"}},"/business/aws-keys":{"post":{"tags":["Aws Keys"],"summary":"Create AWS key","description":"Creates a new AWS (Amazon Web Services) key in the business of the current user.","operationId":"createAWSKey","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"A name for the AWS key."},"access_key":{"type":"string","description":"The AWS access key."},"secret_key":{"type":"string","description":"The AWS secret key."}},"required":["access_key","secret_key","name"]}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully created the AWS key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the newly created AWS key."},"aws_user_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the user."}}}}}},"401":{"description":"Returned if you do not have permissions to create an AWS key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AWSKeys"},"get":{"tags":["Aws Keys"],"summary":"List AWS keys","description":"Returns all AWS (Amazon Web Services) key related data for the business of the current user. The data includes the name and ID of each AWS key.","operationId":"getAWSKeysData","responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully retrieved the list of AWS keys for the business of the current user.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the AWS key."},"name":{"type":"string","description":"The name of the AWS key."}},"required":["id","name"]}}}}},"401":{"description":"Returned if you do not have permissions to list AWS keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AWSKeys"}},"/business/aws-keys/{id}":{"post":{"tags":["Aws Keys"],"summary":"Update AWS key","description":"Updates the specified Amazon Web Services (AWS) key.","operationId":"modifyAWSKey","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the AWS key to update.","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"A new name for the AWS key."}}}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully received the request to update the specified AWS key.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether Tenable Attack Surface Management successfully updated the specified AWS key or not."}}}}}},"401":{"description":"Returned if you do not have permissions to update AWS keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find the specified AWS key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AWSKeys"},"delete":{"tags":["Aws Keys"],"summary":"Delete AWS key","description":"Deletes the specified Amazon Web Services (AWS) key.","operationId":"deleteAWSKey","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the AWS key to delete.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully received the request to delete the specified AWS key.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether Tenable Attack Surface Management successfully deleted the specified AWS key or not."}}}}}},"401":{"description":"Returned if you do not have permissions to delete AWS keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find specified AWS key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AWSKeys"}},"/business/azure-keys":{"post":{"tags":["Azure Keys"],"summary":"Create Azure key","description":"Creates a new Microsoft Azure key in the business of the current user.","operationId":"asm-azure-keys-create","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"A name for the Azure key."},"tenant_id":{"type":"string","description":"The Microsoft Azure tenant ID."},"client_id":{"type":"string","description":"The Microsoft Azure client ID."},"client_secret":{"type":"string","description":"The Microsoft Azure client secret value."}},"required":["tenant_id","client_id","client_secret","name"]}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully created the Microsoft Azure key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the newly created Microsoft Azure key."}}}}}},"401":{"description":"Returned if you do not have permissions to create a Microsoft Azure key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if no name was provided for the new Azure key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AzureKeys"},"get":{"tags":["Azure Keys"],"summary":"List Azure keys","description":"Returns all Microsoft Azure key related data for the business of the current user. The data includes the name and ID of each Microsoft Azure key.","operationId":"asm-azure-keys-list","responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully retrieved the list of Microsoft Azure keys for the business of the current user.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the Microsoft Azure key."},"name":{"type":"string","description":"The name of the Microsoft Azure key."}},"required":["id","name"]}}}}},"401":{"description":"Returned if you do not have permissions to list Microsoft Azure keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AzureKeys"}},"/business/azure-keys/keyless":{"post":{"tags":["Azure Keys"],"summary":"Create Azure key with keyless authentication","description":"Creates a new Microsoft Azure key with keyless authentication in the business of the current user.","operationId":"createKeylessAzureKey","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"A name for the Azure key."},"tenant_id":{"type":"string","description":"The Microsoft Azure tenant ID."},"client_id":{"type":"string","description":"The Microsoft Azure client ID."}},"required":["tenant_id","client_id","name"]}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully created the Microsoft Azure key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the newly created Microsoft Azure key."}},"required":["id"]}}}},"401":{"description":"Returned if you do not have permissions to create a Microsoft Azure key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AzureKeys"}},"/business/azure-keys/identity-id":{"get":{"tags":["Azure Keys"],"summary":"Get the external ID required for creating an Azure integration","description":"Returns the external ID for creating a Microsoft Azure key.","operationId":"getAzureCognitoIdentityId","responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully retrieved the external ID of the specified Microsoft Azure key.","content":{"application/json":{"schema":{"type":"object","properties":{"identity_id":{"type":"string","description":"The Subject Identifier for the Microsoft Azure key."}},"required":["identity_id"]}}}},"401":{"description":"Returned if you do not have permissions to retrieve the external ID of Microsoft Azure keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find the specified Microsoft Azure key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AzureKeys"}},"/business/azure-keys/{id}":{"post":{"tags":["Azure Keys"],"summary":"Update Azure key","description":"Updates the specified Microsoft Azure key.","operationId":"asm-azure-keys-update","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the Microsoft Azure key to update.","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"A new name for the Microsoft Azure key."}}}}}},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully received the request to update the Microsoft Azure key.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether Tenable Attack Surface Management successfully updated the specified Microsoft Azure key or not."}}}}}},"401":{"description":"Returned if you do not have permissions to update Microsoft Azure keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find the specified Microsoft Azure key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AzureKeys"},"delete":{"tags":["Azure Keys"],"summary":"Delete Azure key","description":"Deletes the specified Microsoft Azure key.","operationId":"asm-azure-keys-delete","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the Microsoft Azure key to delete.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully received the request to delete the specified Microsoft Azure key.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether Tenable Attack Surface Management successfully deleted the specified Microsoft Azure key or not."}}}}}},"401":{"description":"Returned if you do not have permissions to delete Microsoft Azure keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Returned if Tenable Attack Surface Management could not find specified Microsoft Azure key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"AzureKeys"}},"/business/gcp-keys/keyless":{"post":{"tags":["Gcp Keys"],"summary":"Create GCP key with keyless authentication","description":"Creates a new GCP (Google Cloud Platform) integration with keyless authentication in the business of the current user.","operationId":"createKeylessGcpKey","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"description":"Workload Identity Federation JSON file","type":"string","format":"binary"},"name":{"description":"A name for the GCP key","type":"string"}},"required":["file","name"]}}},"required":true},"responses":{"200":{"description":"Returned if Tenable Attack Surface Management successfully created the GCP key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"The ID of the newly created GCP key."}},"required":["id"]}}}},"401":{"description":"Returned if you do not have permissions to create an GCP key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}],"x-swagger-router-controller":"GCPKeys"}}},"servers":[{"url":"https://asm.cloud.tenable.com/api/1.0"}],"components":{"parameters":{"Query_Offset":{"name":"offset","in":"query","description":"The number of items to skip","schema":{"type":"integer"}},"Query_Limit":{"name":"limit","in":"query","description":"Maximum number of items to return","required":true,"schema":{"type":"integer","minimum":1}}},"responses":{"Unauthorized":{"description":"Returned if you do not have permissions to use this endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Returned if Tenable Attack Surface Management could not find the specified child account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"Returned if an internal error occurred in Tenable Attack Surface Management","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"BadRequest":{"description":"Returned if your request specified invalid parameters or if your request was improperly formatted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBodies":{"Filters":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Filters"}}},"description":"Applied filters","required":true},"io-asm-exports-assets-xlsxParams":{"content":{"application/json":{"schema":{"type":"object","properties":{"filters":{"$ref":"#/components/schemas/Filters"},"columns":{"type":"array","items":{"type":"string"}}}}}},"required":true},"getSuggestionsListFilters":{"content":{"application/json":{"schema":{"type":"array","description":"Applied filters, suggestions do not support complex queries","default":[],"items":{"type":"object","properties":{"column":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"}}}}}},"description":"Applied filters","required":true}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"GlobalElasticPattern":{"type":"object","properties":{"id":{"type":"number"},"pattern":{"type":"string"},"pattern_type":{"type":"string","enum":["ip","hostname","record_value"]},"make_elastic":{"type":"boolean"},"pattern_order":{"type":"number"},"note":{"type":"string"},"enabled":{"type":"boolean"},"created_by":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"GlobalElasticPatternChange":{"type":"object","properties":{"id":{"type":"number"},"pattern":{"type":"string"},"pattern_type":{"type":"string"},"change_type":{"type":"string","enum":["added","updated","removed","enabled","disabled"]},"make_elastic":{"type":"boolean"},"note":{"type":"string"},"actor":{"type":"string"},"created_at":{"type":"string"}}},"Error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code."},"message":{"type":"string","description":"A description explaining the error."}}},"Asset":{"type":"object","properties":{"app_updates":{"type":"object","description":"Date when data with the given namespace (<namespace>.<key>, e.g. own_body.html) was last queued for update.","properties":{"domaininfo":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"ipgeo":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"own_body":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"own_header":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"ports":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"rbls":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"screenshot":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"ssl":{"type":"string","example":"2020-02-26T20:43:24.000Z"},"wtech":{"type":"string","example":"2020-02-26T20:43:24.000Z"}}},"bd.addedtoportfolio":{"type":"number","example":1576486797508,"description":"Timestamp of date when the Asset was added to the current inventory."},"bd.domain":{"type":"string","example":"domain.com","description":"Domain name of Asset."},"bd.hostname":{"type":"string","example":"host.domain.com","description":"It has been deprecated. Please use bd.record_value instead of it."},"bd.ip_address":{"type":"string","example":"128.254.200.3","description":"IP address of the Asset."},"bd.original_hostname":{"type":"string","example":"api.domain.com","description":"Hostname of the Asset in case of CNAME records."},"bd.record_type":{"type":"string","example":"AAAA","description":"DNS record type of Asset."},"bd.record_value":{"type":"string","example":"192.168.0.1","description":"DNS record value of Asset."},"bd.subdomain":{"type":"boolean","description":"Whether the hostname of the Asset is a subdomain or not.","example":true},"bd.tags":{"type":"array","description":"IDs of simple Tags associated with the Asset. Corresponds with the Tag column on the UI.","items":{"type":"number","example":1}},"bd.tag_<tag_id>_<type>":{"type":"string","description":"User-entered value of a specific Custom Column."},"bd.string_custom_columns":{"type":"array","description":"List of all string custom columns associated with the Asset.","items":{}},"bd.custom_columns":{"type":"array","description":"List of all number custom columns associated with the Asset.","items":{}},"bd.sources":{"type":"array","description":"The list of source ids that the asset belongs to.","example":[1,2,3],"items":{"type":"number"}},"bd.severity_ranking":{"type":"string","description":"The severity ranking of the asset.","example":"critical","enum":["critical","high","medium","low","none"]},"bd.last_metadata_change":{"type":"string","format":"date-time","description":"The last time the asset metadata changed."},"domaininfo.administrativecontact_email":{"type":"string","format":"email","description":"Administrative contact email of the Asset"},"domaininfo.administrativecontact_name":{"type":"string","description":"Administrative contact name of the Asset"},"domaininfo.administrativecontact_organization":{"type":"string","description":"Administrative contact organization of the Asset"},"domaininfo.billingcontact_email":{"type":"string","format":"email","description":"Billing contact email of the Asset"},"domaininfo.contactemail":{"type":"string","format":"email","description":"Contact email of the Asset"},"domaininfo.expiresdate":{"type":"string","format":"date-time","description":"Expire date of the Asset"},"domaininfo.fdns_nameservers":{"type":"array","description":"Nameservers","example":["ns1.tenablesecurity.com","ns2.tenablesecurity.com"],"items":{"type":"string"}},"domaininfo.registrant_city":{"type":"string","description":"Registrant city of the Asset\""},"domaininfo.registrant_country":{"type":"string","description":"Registrant country / region of the Asset"},"domaininfo.registrant_email":{"type":"string","format":"email","description":"Registrant email of the Asset"},"domaininfo.registrant_fax":{"type":"string","description":"Registrant fax of the Asset"},"domaininfo.registrant_name":{"type":"string","description":"Registrant name of the Asset"},"domaininfo.registrant_postalcode":{"type":"string","description":"Registrant postal code of the Asset"},"domaininfo.registrant_state":{"type":"string","description":" Registrant state of the Asset"},"domaininfo.registrant_street1":{"type":"string","description":"Registrant street 1 of the Asset"},"domaininfo.registrant_street2":{"type":"string","description":"Registrant street 2 of the Asset"},"domaininfo.registrant_street3":{"type":"string","description":"Registrant street 3 of the Asset"},"domaininfo.registrant_street4":{"type":"string","description":"Registrant street 4 of the Asset"},"domaininfo.registrarname":{"type":"string","description":"Registrar name of the Asset"},"domaininfo.status":{"type":"string","description":"Status of the Asset"},"domaininfo.technicalcontact_email":{"type":"string","format":"email","description":"Technical contact email of the Asset"},"domaininfo.zonecontact_email":{"type":"string","format":"email","description":"Zone contact email of the Asset"},"domaininfo.registrant_organization":{"type":"string","description":"Registrant organization of the Asset"},"domaininfo.registrant_telephone":{"type":"string","description":"Registrant telephone of the Asset"},"domaininfo.administrativecontact_telephone":{"type":"string","description":"Administrative contact telephone of the Asset"},"domaininfo.technicalcontact_organization":{"type":"string","description":"Technical contact organization of the Asset"},"domaininfo.technicalcontact_name":{"type":"string","description":"Technical contact name of the Asset"},"hidden":{"type":"boolean","description":"Whether the Asset has been archived or not."},"id":{"type":"string","example":"0e89f6e0003a7f402d0be3ba14ad5dc3babdf88f","description":"The unique id of the Asset."},"ipgeo.asn":{"type":"string","description":"The Autonomous System Organization of the Asset.","example":"AMAZON"},"ipgeo.postal":{"type":"string","description":"Postal code of the Asset."},"ipgeo.asn_number":{"type":"number","description":"The Autonomous System Number of the Asset.","example":16509},"ipgeo.city":{"type":"string","description":"Location of the Asset.","example":"Des Moines"},"ipgeo.cloud":{"type":"string","description":"Cloud provider of the Asset.","example":"Amazon Web Services"},"ipgeo.cloudhosted":{"type":"boolean","description":"Whether the Asset is cloud-hosted or not.","example":true},"ipgeo.continent":{"type":"string","description":"Location of the Asset.","example":"North America"},"ipgeo.country":{"type":"string","description":"Location of the Asset.","example":"United States"},"ipgeo.insideeu":{"type":"boolean","description":"Whether the Asset is located in the EU or not."},"ipgeo.latitude":{"type":"number","description":"Location of the Asset.","example":41.6006},"ipgeo.longitude":{"type":"number","description":"Location of the Asset.","example":-93.6112},"ipgeo.registered_country":{"type":"string","description":"Country / region where the Asset was registered.","example":"United States"},"ipgeo.subdivisions":{"type":"array","description":"Location of the Asset.","items":{"type":"string","example":"Iowa"}},"ipgeo.time_zone":{"type":"string","description":"Location of the Asset.","example":"America/Chicago"},"own_body.contentlength":{"type":"number","description":"Length of the content served by the Asset in bytes.","example":3162},"own_body.html":{"type":"string","description":"Raw response body returned by the Asset.","example":"<html><body>example</body></html>"},"own_body.canonical":{"type":"string","description":"Canonical URL found in the HTML body returned by the Asset.","example":"https://www.example.com/index.php"},"own_header.content-type":{"type":"string","description":"The type of content served by the Asset.","example":"text/html"},"own_header.content-language":{"type":"string","description":"The language of content served by the Asset.","example":"en"},"own_header.names":{"type":"array","description":"Names of HTTP headers set by the Asset.","items":{"type":"string","example":"content-length"}},"own_header.secnames":{"type":"array","description":"Names of HTTP security headers set by the Asset.","items":{"type":"string","example":"Strict-Transport-Security"}},"own_header.responsecode":{"type":"number","description":"HTTP status code returned by the Asset.","example":200},"own_header.server":{"type":"string","description":"Web server running on the Asset based on HTTP response headers.","example":"Microsoft-IIS/10.0"},"own_header.setsCookies":{"type":"boolean","description":"Whether the Asset sets cookies or not.","example":true},"own_header.vary":{"type":"string","description":"The value of HTTP header Vary set by the Asset.","example":"Origin"},"own_header.values":{"type":"array","description":"HTTP header values returned by the Asset.","items":{"type":"string","example":"text/html"}},"own_header.secvalues":{"type":"array","description":"HTTP security header values returned by the Asset.","items":{"type":"string","example":"nosniff"}},"ports.banners":{"type":"array","description":"Banners returned by services running on the Asset.","items":{"type":"string","example":"HTTP/1.1 400 Bad Request\\r\\nContent-Type: text/html; charset=us-ascii\\r\\nDate: Sat, 08 Feb 2020 17:21:32 GMT\\r\\nConnection: close\\r\\nContent-Length: 311\\r\\n\\r\\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">\\r\\n<HTML><HEAD><TITLE>Bad Request</TITLE>\\r\\n<META HTTP-EQUIV=\"Content-Type\" Content=\"text/html; charset=us-ascii\"></HEAD>\\r\\n<BODY><h2>Bad Request</h2>\\r\\n<hr><p>HTTP Error 400. The request is badly formed.</p>\\r\\n</BODY></HTML>\\r\\n"}},"ports.ports":{"type":"array","description":"Ports open on the Asset.","items":{"type":"number","example":80}},"ports.verified_ports":{"type":"array","description":"Ports that are open AND have non-empty banners.","items":{"type":"number","example":80}},"ports.lastseen":{"type":"array","description":"Date of last scan for each individual port open on the Asset.","items":{"type":"string","example":"2020-02-08T17:21:32.417Z"}},"ports.services":{"type":"array","description":"Service running on the Asset.","items":{"type":"string","example":"Microsoft IIS httpd"}},"ports.cpes":{"type":"array","description":"Services running on the Asset in CPE format.","items":{"type":"string","example":"cpe:/a:apache:tomcat:9.0.19"}},"ports.cves":{"type":"array","description":"IDs of CVEs that apply to the Asset.","items":{"type":"string","example":"CVE-2019-10072"}},"ports.cvss3_scores":{"type":"array","description":"Unique CVSS3 scores that apply to the Asset.","items":{"type":"number","example":9.8}},"ports.cvss3_vectors":{"type":"array","description":"Unique CVSS3 vector strings that apply to the Asset.","items":{"type":"string","example":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"}},"rbls.rbls":{"type":"array","description":"Realtime Blackhole Lists that contain the Asset.","items":{"type":"string","example":"hphosts_ats"}},"rbls.sampledate":{"type":"array","description":"Last check of each RBL the Asset appears on.","items":{"type":"string","example":"2019-11-21"}},"screenshot.finalhtml":{"type":"string","description":"Raw final response body returned by the Asset.","example":"<html><body>example</body></html>"},"screenshot.finalurl":{"type":"string","description":"The final URL the Asset redirects to.","example":"http://www.example.com/index.php"},"screenshot.final_response_code":{"type":"integer","description":"The response code returned from the final URL the Asset redirects to.","example":404},"screenshot.screenshot":{"type":"string","description":"URL of a screenshot taken of the Asset.","example":"https://url-to-screenshot.com/screenshot.png"},"screenshot.redirect_chain":{"type":"array","description":"The chain of HTTP or client-side redirects that navigated the system to screenshot.finalurl","items":{"type":"string"}},"ssl.available_suites":{"type":"array","description":"Cypher suites available on the Asset.","items":{"type":"string","example":"ECDHE-RSA-AES128-GCM-SHA256"}},"ssl.bits":{"type":"number","description":"Peer certificate RSA bit size","example":2048},"ssl.ev_cert":{"type":"boolean","description":"True, if the SSL / TLS certificate of the Asset is an EV cert."},"ssl.fingerprint":{"type":"string","description":"SSL fingerprint of the Asset.","example":"62914576DC0AFAC83C4804BCC2C1B700A61139FE"},"ssl.issuer_C":{"type":"string","description":"SSL certificate issuer country / region.","example":"US"},"ssl.issuer_CN":{"type":"string","description":"SSL certificate issuer common name.","example":"Microsoft IT TLS CA 2"},"ssl.issuer_O":{"type":"string","description":"SSL certificate issuer organization.","example":"Microsoft Corporation"},"ssl.jarm":{"type":"string","description":"JARM hash of the SSL / TLS data of the Asset. Use this property to group assets by similar SSL / TLS configuration.","example":"27d40d40d00040d00042d43d00041df04c41293ba84f6efe3a613b22f983e6"},"ssl.protocol":{"type":"array","description":"SSL protocols used by the Asset.","items":{"type":"string","example":"TLSv1.2"}},"ssl.subjectaltname":{"type":"array","description":"SSL subject alt names of the Asset.","items":{"type":"string","example":"www.domain.com"}},"ssl.valid_from":{"type":"string","description":"Date from which the SSL certificate of the Asset is valid.","example":"2019-04-30T20:48:00.000Z"},"ssl.valid_to":{"type":"string","description":"Date until the SSL certificate of the Asset is valid.","example":"2021-04-30T20:48:00.000Z"},"ssl.sslerror":{"type":"string","description":"SSL errors produced by the Asset.","example":"ERR_TLS_CERT_ALTNAME_INVALID"},"ssl.serial_number":{"type":"string","description":"SSL serial number of the Asset.","example":"0FBA4EFDC0A84A1C1ED3733C5A817D00"},"wtech.Content Management Systems":{"type":"array","description":"CMSs used by the Asset.","items":{"type":"string","example":"Microsoft SharePoint 16.0.0.19527"}},"wtech.Message Boards":{"type":"array","description":"Message boards used by the Asset.","items":{"type":"string","example":"Discourse 2.4.0"}},"wtech.Database Managers":{"type":"array","description":"Database managers used by the Asset.","items":{"type":"string","example":"phpMyAdmin"}},"wtech.Documentation Tools":{"type":"array","description":"Documentation tools used by the Asset.","items":{"type":"string","example":"Sphinx"}},"wtech.Widgets":{"type":"array","description":"Javascript widgets used by the Asset.","items":{"type":"string","example":"OWL Carousel"}},"wtech.Ecommerce":{"type":"array","description":"Ecommerce solutions used by the Asset.","items":{"type":"string","example":"WooCommerce 3.7.1"}},"wtech.Photo Galleries":{"type":"array","description":"Photo galleries used by the Asset.","items":{"type":"string","example":"NextGEN Gallery 3.2.18"}},"wtech.Wikis":{"type":"array","description":"Wiki software used by the Asset.","items":{"type":"string","example":"MediaWiki 1.33.1"}},"wtech.Hosting Panels":{"type":"array","description":"Hosting panels used by the Asset.","items":{"type":"string","example":"Plesk"}},"wtech.Analytics":{"type":"array","description":"Analytics software used by the Asset.","items":{"type":"string","example":"Google Analytics UA"}},"wtech.Blogs":{"type":"array","description":"Blogging software used by the Asset.","items":{"type":"string","example":"WordPress"}},"wtech.JavaScript Frameworks":{"type":"array","description":"JavaScript frameworks used by the Asset.","items":{"type":"string","example":"React"}},"wtech.Issue Trackers":{"type":"array","description":"Issue trackers used by the Asset.","items":{"type":"string","example":"Usabilla"}},"wtech.Video Players":{"type":"array","description":"Video players used by the Asset.","items":{"type":"string","example":"YouTube"}},"wtech.Comment Systems":{"type":"array","description":"Comment systems used by the Asset.","items":{"type":"string","example":"Disqus"}},"wtech.CAPTCHAs":{"type":"array","description":"CAPTCHA software used by the Asset.","items":{"type":"string","example":"Mollom"}},"wtech.Font Scripts":{"type":"array","description":"Font scripts used by the Asset.","items":{"type":"string","example":"Google Font API"}},"wtech.Web Frameworks":{"type":"array","description":"Web frameworks used by the Asset.","items":{"type":"string","example":"Microsoft ASP.NET"}},"wtech.Miscellaneous":{"type":"array","description":"Misc software used by the Asset.","items":{"type":"string","example":"Amazon S3"}},"wtech.Editors":{"type":"array","description":"Editor software used by the Asset.","items":{"type":"string","example":"Microsoft Word"}},"wtech.Learning Management Systems":{"type":"array","description":"Learning management systems used by the Asset.","items":{"type":"string","example":"Moodle"}},"wtech.Web Servers":{"type":"array","description":"Web servers running on the Asset.","items":{"type":"string","example":"Nginx"}},"wtech.Web Application Firewall":{"type":"array","description":"Web application firewalls used by the Asset.","items":{"type":"string","example":"Cloudflare"}},"wtech.Cache Tools":{"type":"array","description":"Cache tools used by the Asset.","items":{"type":"string","example":"Varnish"}},"wtech.Rich Text Editors":{"type":"array","description":"Rich text editors used by the Asset.","items":{"type":"string","example":"Froala Editor"}},"wtech.JavaScript Graphics":{"type":"array","description":"JavaScript graphics used by the Asset.","items":{"type":"string","example":"Chart.js 2.3.0"}},"wtech.Mobile Frameworks":{"type":"array","description":"Mobile frameworks used by the Asset.","items":{"type":"string","example":"jQuery Mobile 1.4.5"}},"wtech.Programming Languages":{"type":"array","description":"Programming languages used by the Asset.","items":{"type":"string","example":"Java"}},"wtech.Operating Systems":{"type":"array","description":"Operating systems used by the Asset.","items":{"type":"string","example":"Linux"}},"wtech.Search Engines":{"type":"array","description":"Search engines used by the Asset.","items":{"type":"string","example":"Algolia Realtime Search 3.32.0"}},"wtech.Web Mail":{"type":"array","description":"Web mail used by the Asset.","items":{"type":"string","example":"Outlook Web App"}},"wtech.Content Delivery Networks":{"type":"array","description":"CDNs used by the Asset.","items":{"type":"string","example":"Cloudflare"}},"wtech.Marketing Automation":{"type":"array","description":"Marketing automation software used by the Asset.","items":{"type":"string","example":"RockRMS"}},"wtech.Web Server Extensions":{"type":"array","description":"Web server extensions used by the Asset.","items":{"type":"string","example":"OpenSSL 1.0.1e"}},"wtech.Databases":{"type":"array","description":"Databases used by the Asset.","items":{"type":"string","example":"MySQL"}},"wtech.Maps":{"type":"array","description":"Maps software used by the Asset.","items":{"type":"string","example":"Google Maps"}},"wtech.Advertising Networks":{"type":"array","description":"Advertising networks used by the Asset.","items":{"type":"string","example":"AdRoll"}},"wtech.Network Devices":{"type":"array","description":"Network devices used by the Asset.","items":{"type":"string"}},"wtech.Media Servers":{"type":"array","description":"Media servers used by the Asset.","items":{"type":"string"}},"wtech.Webcams":{"type":"array","description":"Webcam software used by the Asset.","items":{"type":"string"}},"wtech.Printers":{"type":"array","description":"Printer libraries used by the Asset.","items":{"type":"string"}},"wtech.Payment Processors":{"type":"array","description":"Payment processors used by the Asset.","items":{"type":"string","example":"Stripe 2"}},"wtech.Paywalls":{"type":"array","description":"Paywalls used by the Asset.","items":{"type":"string"}},"wtech.Tag Managers":{"type":"array","description":"Tag managers used by the Asset.","items":{"type":"string","example":"Google Tag Manager"}},"wtech.Build/Continuous Integration Systems":{"type":"array","description":"Build CI systems used by the Asset.","items":{"type":"string","example":"Jenkins"}},"wtech.Control Systems":{"type":"array","description":"Control systems used by the Asset.","items":{"type":"string","example":"SpiderControl iniNet"}},"wtech.Remote Access":{"type":"array","description":"Remote access software used by the Asset.","items":{"type":"string","example":"ShellInABox"}},"wtech.Reverse Proxy":{"type":"array","description":"Reverse proxies used by the Asset.","items":{"type":"string"}},"wtech.Development Tools":{"type":"array","description":"Development tools used by the Asset.","items":{"type":"string","example":"webpack"}},"wtech.Network Storage":{"type":"array","description":"Network storage software used by the Asset.","items":{"type":"string","example":"Synology DiskStation"}},"wtech.Feed Readers":{"type":"array","description":"Feed readers used by the Asset.","items":{"type":"string"}},"wtech.News Readers":{"type":"array","description":"Feed readers used by the Asset.","items":{"type":"string"}},"wtech.Document Management Systems":{"type":"array","description":"Document management systems used by the Asset.","items":{"type":"string","example":"Open Journal Systems 2.4.6.0"}},"wtech.Landing Page Builders":{"type":"array","description":"Landing page builders used by the Asset.","items":{"type":"string","example":"Elementor"}},"wtech.Live Chat":{"type":"array","description":"Live chat software used by the Asset.","items":{"type":"string","example":"LivePerson"}},"wtech.socialurls":{"type":"array","description":"Social profiles used by the Asset.","items":{"type":"string","example":"https://www.facebook.com/dialog/"}},"wtech.gakeys":{"type":"array","description":"Google analytics keys used by the Asset.","items":{"type":"string","example":"UA-12345678-91"}},"wtech.adsensekeys":{"type":"array","description":"Google adsense keys used by the Asset.","items":{"type":"string","example":"ca-pub-1234567812345678"}},"wtech.mixedcontent":{"type":"array","description":"Mixed content returned by the Asset.","items":{"type":"string","example":"http://domain.com/resource.jpg"}},"wtech.Customer Relationship Management Systems":{"type":"array","description":"Customer relationship management systems used by the Asset.","items":{"type":"string","example":"Salesforce"}},"wtech.Search Engine Optimization":{"type":"array","description":"Search engine optimization software used by the Asset.","items":{"type":"string","example":"Yoast SEO 11.6"}},"wtech.Accounting Systems":{"type":"array","description":"Accounting systems used by the Asset.","items":{"type":"string","example":"Akaunting"}},"wtech.Cryptomining":{"type":"array","description":"Cryptomining software used by the Asset.","items":{"type":"string","example":"CoinHive"}},"wtech.Static Site Generators":{"type":"array","description":"Static site generators used by the Asset.","items":{"type":"string","example":"Gatsby"}},"wtech.User Onboarding":{"type":"array","description":"User onboarding software used by the Asset.","items":{"type":"string"}},"wtech.JavaScript Libraries":{"type":"array","description":"JavaScript libraries used by the Asset.","items":{"type":"string","example":"Polyfill"}},"wtech.Containers":{"type":"array","description":"Container software used by the Asset.","items":{"type":"string","example":"Docker"}},"wtech.SaaS":{"type":"array","description":"SaaS solutions used by the Asset.","items":{"type":"string"}},"wtech.PaaS":{"type":"array","description":"PaaS solutions used by the Asset.","items":{"type":"string"}},"wtech.IaaS":{"type":"array","description":"IaaS solutions used by the Asset.","items":{"type":"string"}},"wtech.Load Balancer":{"type":"array","description":"Load Balancers used by the Asset.","items":{"type":"string"}},"wtech.Cookie compliance":{"type":"array","description":"Cookie compliances used by the Asset.","items":{"type":"string"}},"wtech.Accessibility":{"type":"array","description":"Accessibility libraries used by the Asset.","items":{"type":"string"}},"wtech.Social logins":{"type":"array","description":"Social logins used by the Asset.","items":{"type":"string"}},"wtech.Affiliate programs":{"type":"array","description":"Affiliate programs used by the Asset.","items":{"type":"string"}},"wtech.Appointment scheduling":{"type":"array","description":"Appointment scheduling libraries used by the Asset.","items":{"type":"string"}},"wtech.Email":{"type":"array","description":"Emails used by the Asset.","items":{"type":"string"}},"wtech.secretkeys":{"type":"array","description":"secretkeys used by the Asset.","items":{"type":"string"}},"wtech.has_login":{"type":"boolean","description":"Whether the Asset redirects to or contains a login page."},"wtech.document_title":{"type":"string"},"wtech.Browser fingerprinting":{"type":"array","description":"Browser fingerprinting tools","items":{"type":"string"}},"wtech.Buy now pay later":{"type":"array","description":"Buy now pay later tools","items":{"type":"string"}},"wtech.Cart abandonment":{"type":"array","description":"Cart abandonment tools","items":{"type":"string"}},"wtech.Content curation":{"type":"array","description":"Content curation tools","items":{"type":"string"}},"wtech.Customer data platform":{"type":"array","description":"Customer data platform tools","items":{"type":"string"}},"wtech.Digital asset management":{"type":"array","description":"Digital asset management tools","items":{"type":"string"}},"wtech.Feature management":{"type":"array","description":"Feature management tools","items":{"type":"string"}},"wtech.Geolocation":{"type":"array","description":"Geolocation tools","items":{"type":"string"}},"wtech.Hosting":{"type":"array","description":"Hosting info","items":{"type":"string"}},"wtech.Loyalty & rewards":{"type":"array","description":"Loyalty & rewards tools","items":{"type":"string"}},"wtech.Performance":{"type":"array","description":"Performance tools","items":{"type":"string"}},"wtech.Referral marketing":{"type":"array","description":"Referral marketing tools","items":{"type":"string"}},"wtech.Reservations & delivery":{"type":"array","description":"Reservations & delivery platforms","items":{"type":"string"}},"wtech.Reviews":{"type":"array","items":{"type":"string"}},"wtech.RUM":{"type":"array","description":"RUM tools","items":{"type":"string"}},"wtech.Segmentation":{"type":"array","description":"Segmentation tools","items":{"type":"string"}},"wtech.Shipping carriers":{"type":"array","description":"Shipping carriers tools","items":{"type":"string"}},"wtech.Translation":{"type":"array","description":"Translation tools","items":{"type":"string"}},"wtech.WordPress plugins":{"type":"array","description":"WordPress plugins tools","items":{"type":"string"}},"wtech.WordPress themes":{"type":"array","description":"WordPress themes tools","items":{"type":"string"}},"wtech.Shopify apps":{"type":"array","description":"Shopify apps tools","items":{"type":"string"}},"wtech.Recruitment & staffing":{"type":"array","description":"Recruitment & staffing tools","items":{"type":"string"}},"wtech.Returns":{"type":"array","description":"Returns technologies","items":{"type":"string"}},"wtech.Livestreaming":{"type":"array","description":"Livestreaming tools","items":{"type":"string"}},"wtech.Ticket booking":{"type":"array","description":"Ticket booking tools","items":{"type":"string"}},"wtech.Augmented reality":{"type":"array","description":"Augmented reality tools","items":{"type":"string"}},"wtech.Cross border ecommerce":{"type":"array","description":"Cross border ecommerce tools","items":{"type":"string"}},"wpscan.vulnerabilities":{"type":"array","description":"WPScan Vulnerability Database IDs.","items":{"type":"string"}},"wpscan.plugins":{"type":"array","description":"Wordpress plugin IDs found through scraping.","items":{"type":"string"}},"wpscan.wpversion":{"type":"string","description":"Wordpress core version."}}},"FilterItem":{"type":"object","description":"One expression, it's either an object with only 'and' or 'or' properties, or a leaf node with 'column', 'type', 'value' and 'endLabel' properties.","properties":{"column":{"type":"string","description":"The property to filter on. You can use the [List Asset Properties](ref:getavailablecolumns) endpoint to get a list of possible values.","example":"bd.original_hostname"},"type":{"type":"string","description":"The type of filter to apply. Refer to [Robust Filtering](https://docs.tenable.com/attack-surface-management/Content/Topics/Inventory/AssetFilters.htm#Robust_Filtering) for a list of possible filter types.","example":"contains"},"value":{"type":"string","description":"The value to filter on. For date-time values, please use the ISO format. For example: \"2024-10-21T10:00:00.000Z\".\n","example":"example"}}},"Filters":{"type":"array","description":"Filters to be applied on assets, consists of FilterItem objects.","default":[],"items":{"$ref":"#/components/schemas/FilterItem"}},"AssetResolution":{"type":"string","description":"Host or Web App asset resolution status.","enum":["IDENTIFIED","EXCLUDED_FILTERED","EXCLUDED_RECORD_TYPE","EXCLUDED_DELETION_MEMORY","EXCLUDED_NON_ROUTABLE","EXCLUDED_NO_RESPONSE_CODE","EXCLUDED_DISABLED_INTEGRATION","EXCLUDED_OTHER","EXCLUDED_WILDCARD_AND_EIP","EXCLUDED_WILDCARD_AND_HOSTNAME_IDENT","EXCLUDED_IPV6_NOT_SUPPORTED"]},"TioAssetMeta":{"type":"object","description":"Metadata about a matching Host or Web App asset.","required":["id","updatedAt"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"lastScannedAt":{"type":"string","format":"date-time"},"aesScore":{"type":"number"},"acrScore":{"type":"number"}}}}}}