A new endpoint has been added to the Tenable PCI ASV API to allow customers to list PCI attestations. The endpoint accepts a query parameter called
status_type to filter the results by status. For more information about PCI ASV, see Get Started with PCI ASV Scanning in the Tenable Vulnerability Management User Guide.
The new endpoint is described in the following table:
|GET /pci-asv/attestations||List attestations||Returns a list of PCI attestations in PCI ASV.|
You need to request access to this endpoint through Tenable support even if you have a valid PCI ASV license.
For example, to list attestations that are currently in review in descending order by name, you could use the following cURL request:
curl --request GET \ --url 'https://cloud.tenable.com/pci-asv/attestations?limit=10&sort=name%3Adesc&status_type=IN_REVIEW' \ --header 'X-ApiKeys: accessKey=<YOURKEY>;secretKey=<YOURKEY>' \ --header 'accept: application/json'