host#
Autogenerated API
- argus_api.lib.assets.v1.host.add_host_asset(ownerID: int = None, customerID: int = None, name: str = None, description: str = None, criticality: dict = None, properties: dict = None, type: str = None, source: str = None, operatingSystemCPE: str = None, ipAddresses: str = None, aliases: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Creates a new HostAsset. (PUBLIC)
- Parameters
ownerID (int) – User who owns the asset.
customerID (int) – Customer the asset belongs to.
name (str) – Name of the asset. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
description (str) – Description of the asset. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
criticality (dict) –
properties (dict) – Custom user-defined properties. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
type (str) – Defines if host is a client or a server. (default SERVER)
source (str) – Source of the request. (default USER)
operatingSystemCPE (str) – CPE of the host operating system.
ipAddresses (list) – IP address(es) of the host.
aliases (list) – Aliases (domain names) of the host.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON
- argus_api.lib.assets.v1.host.bulk_update_host_asset(source: str = None, assetVulnerabilityAddRequests: dict = None, assetVulnerabilityUpdateRequests: dict = None, assetVulnerabilityResolveRequests: dict = None, assetVulnerabilityDeleteRequests: dict = None, hostApplicationAddRequests: dict = None, hostApplicationUpdateRequests: dict = None, hostApplicationDeleteRequests: dict = None, hostAssetAddRequests: dict = None, hostAssetUpdateRequests: dict = None, hostAssetDeleteRequests: dict = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Performs multiple updates to HostAssets in a single transaction. (PUBLIC)
- Parameters
source (str) – Source of the request. (default USER)
assetVulnerabilityAddRequests (list) – List of AssetVulnerabilityAddRequests.
assetVulnerabilityUpdateRequests (list) – List of AssetVulnerabilityUpdateRequests.
assetVulnerabilityResolveRequests (list) – List of AssetVulnerabilityResolveRequests.
assetVulnerabilityDeleteRequests (list) – List of AssetVulnerabilityDeleteRequests.
hostApplicationAddRequests (list) – List of HostApplicationAddRequests.
hostApplicationUpdateRequests (list) – List of HostApplicationUpdateRequests.
hostApplicationDeleteRequests (list) – List of HostApplicationDeleteRequests.
hostAssetAddRequests (list) – List of HostAssetAddRequests. Adding vulnerabilities/applications to added hosts must be done in separate transaction.
hostAssetUpdateRequests (list) – List of HostAssetUpdateRequests.
hostAssetDeleteRequests (list) – List of HostAssetDeleteRequests.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ObjectNotFoundException – on 404
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON
- argus_api.lib.assets.v1.host.delete_host_asset(id: str, source: str = 'USER', json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Marks a HostAsset as deleted. (PUBLIC)
- Parameters
id (str) – HostAsset ID
source (str) – Request source (default USER)
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ObjectNotFoundException – on 404
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON
- argus_api.lib.assets.v1.host.get_host_asset(id: str, includeVulnerabilities: bool = True, includeVulnerabilitySolution: bool = True, includeVulnerabilityConclusion: bool = True, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Returns a HostAsset identified by its ID. (PUBLIC)
- Parameters
id (str) – HostAsset ID
includeVulnerabilities (bool) – If false, do not include vulnerabilities output. Defaults to true
includeVulnerabilitySolution (bool) – If false, do not include vulnerability solution in the output. Defaults to true
includeVulnerabilityConclusion (bool) – If false, do not include vulnerability conclusion in the output. Defaults to true
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ObjectNotFoundException – on 404
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON
- argus_api.lib.assets.v1.host.merge_host_asset(mergeIntoID: str, mergeFromID: str = None, ownerID: int = None, name: str = None, description: str = None, criticality: dict = None, type: str = None, mergeApplications: bool = None, mergeVulnerabilities: bool = None, operatingSystemCPE: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Merges multiple HostAssets into one. (INTERNAL)
- Parameters
mergeIntoID (str) – ID of HostAsset to merge into. This HostAsset is kept and contains the merge result.
mergeFromID (list) – Merge from hosts identified by their IDs.
ownerID (int) – Set owner of merged host. Keeps owner of merge into host if not provided.
name (str) – Set name of merged host. Keeps name of merge into host if not provided. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
description (str) – Set description of merged host. Keeps description of merge into host if not provided. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
criticality (dict) –
type (str) – Set type of merged host. Keeps type of merge into host if not provided.
mergeApplications (bool) – If set to true also merge applications (defaults to false).
mergeVulnerabilities (bool) – If set to true also merge vulnerabilities (defaults to false).
operatingSystemCPE (str) – Set operating system CPE of merged host. Keeps CPE of merge into host if not provided.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ObjectNotFoundException – on 404
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON
- argus_api.lib.assets.v1.host.search_host_asset_statistics(name: str = None, keywords: str = None, keywordMatchStrategy: str = None, timeMatchStrategy: str = None, hostID: str = None, serviceID: str = None, businessProcessID: str = None, ipRange: str = None, applicationPort: int = None, applicationProtocol: str = None, cpe: str = None, hostCPE: str = None, applicationCPE: str = None, countTimeout: int = None, limit: int = None, offset: int = None, includeDeleted: bool = None, subCriteria: dict = None, exclude: bool = None, required: bool = None, customerID: int = None, startTimestamp: str = None, endTimestamp: str = None, ownerID: int = None, criticality: dict = None, minimumTotalCvss: float = None, maximumTotalCvss: float = None, vulnerabilityReference: str = None, vulnerabilityID: str = None, applicationRole: int = None, type: str = None, timeFieldStrategy: str = None, keywordFieldStrategy: str = None, includeVulnerabilityRawOutput: bool = None, includeVulnerabilityConclusion: bool = None, includeVulnerabilitySolution: bool = None, includeVulnerabilities: bool = None, includeApplications: bool = None, includeServices: bool = None, connectedToService: bool = None, groupBy: str = None, values: str = None, resolution: int = None, cutoff: int = None, cutoffValue: str = None, includeOthers: bool = None, sortBy: str = None, includeFlags: str = None, excludeFlags: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Fetch host asset statistics base on criteria (PUBLIC)
- Parameters
name (list) – Restrict search to specific asset name
keywords (list) – Search for keywords.
keywordMatchStrategy (str) – Defines the MatchStrategy for keywords (default match all keywords).
timeMatchStrategy (str) – Defines how strict to match against different timestamps (all/any) using start and end timestamp (default any)
hostID (list) – Restrict search to specific host UUIDs.
serviceID (list) – Restrict search to specific service UUIDs.
businessProcessID (list) – Restrict search to specific business process UUIDs.
ipRange (str) – Restrict search to entities related to these IP-addresses (may specify single IPs, IP networks or IP ranges.
applicationPort (list) – Restrict to applications listening on specific ports.
applicationProtocol (list) – Restrict to applications by transport protocol name.
cpe (str) – Restrict to applications or hosts by CPE.
hostCPE (str) – Restrict to hosts by CPE.
applicationCPE (str) – Restrict to applications by CPE.
countTimeout (int) – Max wait in seconds for count query, if max wait passed and count query still executing the query; or -1 is set to indicate do not count, then the query will be cancelled and return count -1. Default value 0 means execute as long as service allows, -1 means do not count, max value is 30 (seconds).
limit (int) – Max number of results.
offset (int) – Skip the first (offset) objects. By default, return result from first object.
includeDeleted (bool) – Set to true to include deleted objects. By default, exclude deleted objects.
subCriteria (list) – Set additional criterias which are applied using a logical OR.
exclude (bool) – Only relevant for subcriteria. If set to true, objects matching this subcriteria object will be excluded.
required (bool) – Only relevant for subcriteria. If set to true, objects matching this subcriteria are required (AND-ed together with parent criteria).
customerID (list) – Restrict search to data belonging to specified customers.
startTimestamp (str) – Restrict search to a time frame based on the set TimeFieldStrategy (start timestamp).
endTimestamp (str) – Restrict search to a time frame based on the set TimeFieldStrategy (end timestamp).
ownerID (list) – Restrict search to specific ownerIDs
criticality (list) – Restrict search to a range of criticality levels (add multiple CriticalitySearch objects to specify OR criteria).
minimumTotalCvss (float) – Restrict search to a minimum total CVSS score.
maximumTotalCvss (float) – Restrict search to a maximum total CVSS score.
vulnerabilityReference (list) – Restrict to vulnerabilities identified by vulnerability reference.
vulnerabilityID (list) – Restrict to vulnerabilities identified by vulnerability ID.
applicationRole (list) – Restrict to applications with specific roles (list of role IDs).
type (str) – Restrict search to a specific type of host (client or server).
timeFieldStrategy (list) – Defines which timestamps will be included in the search (default lastUpdatedTimestamp on host).
keywordFieldStrategy (list) – Defines which fields will be searched by keywords (default all supported fields).
includeVulnerabilityRawOutput (bool) – Include vulnerability rawOutput in result (default false).
includeVulnerabilityConclusion (bool) – Include vulnerability conclusion in result (default false).
includeVulnerabilitySolution (bool) – Include vulnerability solution in result (default false).
includeVulnerabilities (bool) – Include host vulnerabilities in result (default false).
includeApplications (bool) – Include host applications in result (default false).
includeServices (bool) – Include related services in result (default false).
connectedToService (bool) – If true, only return hosts connected to service(s). If false, return hosts not connected to any service. If not set, do not filter.
groupBy (list) – Specify which fields will be grouped by in stats
values (list) – Specify which values will be included in stats (default hosts)
resolution (int) – Stats resolution period in milliseconds, if is 0 means to generate non-timeline statistics
cutoff (int) – Reduce stats keys to the cutoff amount of keys that has largest hit count, default 0 means no reduce
cutoffValue (str) – Specify which value to be cutoff on (default hosts)
includeOthers (bool) – If reduce (cutoff>0), true means remaining keys (other than cutoff keys) are collected into an “other” key, default false
sortBy (list) – List of properties to sort by (prefix with “-” to sort descending).
includeFlags (list) – Only include objects which have includeFlags set.
excludeFlags (list) – Exclude objects which have excludeFlags set.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ValidationFailedException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON
- argus_api.lib.assets.v1.host.search_host_assets(name: str = None, keywords: str = None, keywordMatchStrategy: str = None, timeMatchStrategy: str = None, hostID: str = None, serviceID: str = None, businessProcessID: str = None, ipRange: str = None, applicationPort: int = None, applicationProtocol: str = None, cpe: str = None, hostCPE: str = None, applicationCPE: str = None, countTimeout: int = None, limit: int = None, offset: int = None, includeDeleted: bool = None, subCriteria: dict = None, exclude: bool = None, required: bool = None, customerID: int = None, startTimestamp: str = None, endTimestamp: str = None, ownerID: int = None, criticality: dict = None, minimumTotalCvss: float = None, maximumTotalCvss: float = None, vulnerabilityReference: str = None, vulnerabilityID: str = None, applicationRole: int = None, type: str = None, timeFieldStrategy: str = None, keywordFieldStrategy: str = None, includeVulnerabilityRawOutput: bool = None, includeVulnerabilityConclusion: bool = None, includeVulnerabilitySolution: bool = None, includeVulnerabilities: bool = None, includeApplications: bool = None, includeServices: bool = None, connectedToService: bool = None, sortBy: str = None, includeFlags: str = None, excludeFlags: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Returns a set of HostAssets defined by a HostAssetSearchCriteria. (PUBLIC)
- Parameters
name (list) – Restrict search to specific asset name
keywords (list) – Search for keywords.
keywordMatchStrategy (str) – Defines the MatchStrategy for keywords (default match all keywords).
timeMatchStrategy (str) – Defines how strict to match against different timestamps (all/any) using start and end timestamp (default any)
hostID (list) – Restrict search to specific host UUIDs.
serviceID (list) – Restrict search to specific service UUIDs.
businessProcessID (list) – Restrict search to specific business process UUIDs.
ipRange (str) – Restrict search to entities related to these IP-addresses (may specify single IPs, IP networks or IP ranges.
applicationPort (list) – Restrict to applications listening on specific ports.
applicationProtocol (list) – Restrict to applications by transport protocol name.
cpe (str) – Restrict to applications or hosts by CPE.
hostCPE (str) – Restrict to hosts by CPE.
applicationCPE (str) – Restrict to applications by CPE.
countTimeout (int) – Max wait in seconds for count query, if max wait passed and count query still executing the query; or -1 is set to indicate do not count, then the query will be cancelled and return count -1. Default value 0 means execute as long as service allows, -1 means do not count, max value is 30 (seconds).
limit (int) – Max number of results.
offset (int) – Skip the first (offset) objects. By default, return result from first object.
includeDeleted (bool) – Set to true to include deleted objects. By default, exclude deleted objects.
subCriteria (list) – Set additional criterias which are applied using a logical OR.
exclude (bool) – Only relevant for subcriteria. If set to true, objects matching this subcriteria object will be excluded.
required (bool) – Only relevant for subcriteria. If set to true, objects matching this subcriteria are required (AND-ed together with parent criteria).
customerID (list) – Restrict search to data belonging to specified customers.
startTimestamp (str) – Restrict search to a time frame based on the set TimeFieldStrategy (start timestamp).
endTimestamp (str) – Restrict search to a time frame based on the set TimeFieldStrategy (end timestamp).
ownerID (list) – Restrict search to specific ownerIDs
criticality (list) – Restrict search to a range of criticality levels (add multiple CriticalitySearch objects to specify OR criteria).
minimumTotalCvss (float) – Restrict search to a minimum total CVSS score.
maximumTotalCvss (float) – Restrict search to a maximum total CVSS score.
vulnerabilityReference (list) – Restrict to vulnerabilities identified by vulnerability reference.
vulnerabilityID (list) – Restrict to vulnerabilities identified by vulnerability ID.
applicationRole (list) – Restrict to applications with specific roles (list of role IDs).
type (str) – Restrict search to a specific type of host (client or server).
timeFieldStrategy (list) – Defines which timestamps will be included in the search (default lastUpdatedTimestamp on host).
keywordFieldStrategy (list) – Defines which fields will be searched by keywords (default all supported fields).
includeVulnerabilityRawOutput (bool) – Include vulnerability rawOutput in result (default false).
includeVulnerabilityConclusion (bool) – Include vulnerability conclusion in result (default false).
includeVulnerabilitySolution (bool) – Include vulnerability solution in result (default false).
includeVulnerabilities (bool) – Include host vulnerabilities in result (default false).
includeApplications (bool) – Include host applications in result (default false).
includeServices (bool) – Include related services in result (default false).
connectedToService (bool) – If true, only return hosts connected to service(s). If false, return hosts not connected to any service. If not set, do not filter.
sortBy (list) – List of properties to sort by (prefix with “-” to sort descending).
includeFlags (list) – Only include objects which have includeFlags set.
excludeFlags (list) – Exclude objects which have excludeFlags set.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
requests.Response
object or dictionary translated from JSON
- argus_api.lib.assets.v1.host.search_host_assets_simplified(keywords: str = None, keywordField: str = None, name: str = None, hostID: str = None, serviceID: str = None, businessProcessID: str = None, customerID: int = None, ip: str = None, port: int = None, protocol: str = None, cpe: str = None, vulnID: str = None, vulnRef: str = None, includeFlag: str = None, excludeFlag: str = None, sortBy: str = None, countTimeout: int = None, limit: int = 25, keywordMatch: str = 'all', offset: int = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Returns as set of HostAssets defined by query parameters. (PUBLIC)
- Parameters
keywords (list) – Search by keywords
keywordField (list) – Set field strategy for keyword search
name (list) – Search by name
hostID (list) – Search by HostAsset ID
serviceID (list) – Search by ServiceAsset ID
businessProcessID (list) – Search by BusinessProcess ID
customerID (list) – Search by customer ID
ip (list) – Search by IP range
port (list) – Search by application port
protocol (list) – Search by application protocol
cpe (list) – Search by CPE
vulnID (list) – Search by vulnerability ID
vulnRef (list) – Search by vulnerability reference
includeFlag (list) – Include certain HostAssets in the search result based on set flags
excludeFlag (list) – Exclude certain HostAssets from the search result based on set flags
sortBy (list) – Sort search result
countTimeout (int) – Max wait in seconds for count query. Value 0 means execute as long as service allows, -1 means do not count, max value is 30 (seconds).
limit (int) – Maximum number of returned results
keywordMatch (str) – Set match strategy for keyword search
offset (int) – Skip a number of results
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
requests.Response
object or dictionary translated from JSON
- argus_api.lib.assets.v1.host.update_host_asset(id: str, ownerID: int = None, name: str = None, description: str = None, criticality: dict = None, addProperties: dict = None, deleteProperties: str = None, type: str = None, source: str = None, operatingSystemCPE: str = None, addIpAddresses: str = None, deleteIpAddresses: str = None, addAliases: str = None, deleteAliases: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
Updates an existing HostAsset. (PUBLIC)
- Parameters
id (str) – HostAsset ID
ownerID (int) – Change user who owns the asset.
name (str) – Change name of asset. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
description (str) – Change description of asset. => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
criticality (dict) –
addProperties (dict) – Add custom properties (updates a property if key already exists). => [sw\{\}\$\-\(\).\[\]”'_/\,\*\+\#:@!?;=]*
deleteProperties (list) – Delete custom properties by key.
type (str) – Change type of host (client or server).
source (str) – Source of the request. (default USER)
operatingSystemCPE (str) – Change CPE of host.
addIpAddresses (list) – Add IP address(es) to host.
deleteIpAddresses (list) – Delete IP address(es) from host.
addAliases (list) – Add alias(es) (domain names) to host.
deleteAliases (list) – Delete alias(es) from host.
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
AccessDeniedException – on 403
ObjectNotFoundException – on 404
ValidationErrorException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON