Skip to content

Security: Cumulocity-IoT/cumulocity-self-service-certification

Security

docs/security.md

Endpoints provided by the Open API python microservice

Products

Get an existing product by a product ID GET {{baseUrl}}/products/{product_id} GET product

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Get all products for a particular tenant/vendor GET {{baseUrl}}/products GET products

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Update an existing product PUT {{baseUrl}}/products/{product_id} UPDATE product

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Create a new product providing a partial product managed object POST {{baseUrl}}/products CREATE product

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Delete an existing product DELETE {{baseUrl}}/products/{product_id} DELETE product

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Testsuites

Get latest testSuite GET {{baseUrl}}/testsuites/latest GET latest testSuite

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Get a testSuite by ID GET {{baseUrl}}/testsuites/{testsuite_id} GET testSuite by ID

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Testruns

Get a testrun for a product by testrun ID GET {{baseUrl}}/testruns/{testrun_id} GET testrun

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Get all testruns GET {{baseUrl}}/testruns Get testruns

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Udate an existing testrun PUT {{baseUrl}}/testruns/{testrun_id} UPDATE testrun

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Create a testrun POST {{baseUrl}}/testruns CREATE testrun

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

delete an existing testrun DELETE {{baseUrl}}/testruns/{testrun_id} DELETE testrun

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Starts the execution of the device certification GET {{baseUrl}}/testruns/{testrun_id}/certify GET testrun certify

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Testcertificates

Get certificate by id GET {{baseUrl}}/certificates/{certificate_id} GET certificate

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Get all certificates for a particular product id (managed object id). GET {{baseUrl}}/certificate GET certificate

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE Yes
None No

Create a certificate managed object POST {{baseUrl}}/certificates CREATE certificate

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Delete certificate by id DELETE {{baseUrl}}/certificates/{certificate_id} DELETE certificate

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE No
None No

Document

Get one PDF document of a certified device to download the file GET {{baseUrl}}/document/{document_id} GET document

Role Access
ADMIN_CERTIFICATION_ROLE Yes
READ_CERTIFICATION_ROLE Yes
None No

There aren’t any published security advisories