Scans

The following methods allow for interaction into the TVM PCI Scans API API endpoints.

Methods available on tio.pci.scans:

class ScansAPI(api: APISession)[source]
list(*, sort: list[tuple[str, ~typing.Literal['asc', 'desc']]] | None = None, limit: int = 1000, offset: int = 0, iterator: ~typing.Type[~tenable.io.pci.iterators.PCIScansIterator] | None = <class 'tenable.io.pci.iterators.PCIScansIterator'>) PCIScansIterator | dict[str, Any][source]

Returns a list of PCI scans.

Parameters:
  • sort – Sort the results based on the field and sort order.

  • limit – The number of results to return for each page

  • offset – Where within the page data to start the page.

  • iterator – Should an iterator be returned or a page of data? If set to None, the page will be returned instead of the iterable.