Vulns

The following methods leverage stored queries relating to vulnerability metadata within Cloud Security.

class VulnsAPI(api: GraphQLSession)[source]
containerimages(page_size: int = 10)[source]

Requests container image vulnerability metadata.

Parameters:

page_size (int, optional) – How many items should be returned per page?

Returns:

An iterable is returned that handles paging of the data.

Example

>>> for vuln in cloudsecurity.vulns.containerimages():
...     print(vuln)
virtualmachines(page_size: int = 10)[source]

Requests virtual machine vulnerability metadata.

Parameters:

page_size (int, optional) – How many items should be returned per page?

Returns:

An iterable is returned that handles paging of the data.

Example

>>> for vuln in cloudsecurity.vulns.virtualmachines():
...     print(vuln)
class CloudSecurityVulnIterator(api, **kw)[source]