{"type":"api","title":"List Application Attributes","meta":{"id":"/apps/pubhub/media/cloud-security-gov/cdd8786b84e1e4d80528d0eeb25987c136a18549/33d60930-aabe-321c-b3a4-3035d9eb942a","info":{"title":"Cisco Umbrella for Government App Discovery API","description":"The App Discovery API provides an overall view of application and protocol activity in your environment\nand the potential risk indicated by this network traffic.","version":"2.0.2","contact":{"name":"Cloud Security Developer Community"}},"tags":[{"name":"Applications"},{"name":"Application Categories"},{"name":"Protocols"},{"name":"Identities"},{"name":"Umbrella"}],"x-parser-conf":{"overview":{"markdownPath":"reference/reports/app-discovery-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://api.umbrellagov.com/{basePath}","variables":{"basePath":{"default":"reports/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.umbrellagov.com/auth/v2/token","scopes":{"reports.appDiscovery:write":"Write reports app discovery","reports.appDiscovery:read":"Read reports app discovery"}}}}}},"spec":{"tags":["Applications","Umbrella"],"summary":"List Application Attributes","description":"List all attributes for the application.","operationId":"getApplicationAttributes","parameters":[{"in":"path","name":"applicationId","description":"The ID of the application.","required":true,"schema":{"type":"string"},"$$ref":"#/components/parameters/applicationId"},{"in":"query","name":"categories","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":false,"description":"The categories of the attributes to use when filtering the collection.","example":["Compliance"],"$$ref":"#/components/parameters/attributeCategories"}],"security":[{"oauthFlow":["reports.appDiscovery:read"]}],"responses":{"200":{"description":"OK","headers":{"Link":{"schema":{"type":"string"},"description":"Links to related resources, in the format defined by\n[RFC 5988](https://tools.ietf.org/html/rfc5988#section-5).\nIf there is a next page, this header includes a link with relation type\n`next` to the next page.","$$ref":"#/components/headers/Link"}},"content":{"application/json":{"schema":{"type":"object","description":"The list of application attribute category.","properties":{"attributesCategories":{"type":"array","items":{"type":"object","description":"The application's attribute category.","properties":{"id":{"type":"string","description":"The ID of the attribute category.","example":"2"},"name":{"type":"string","description":"The name of the attribute category.","example":"Data Security"},"attributes":{"type":"array","items":{"type":"object","description":"The application attribute information.","properties":{"id":{"type":"string","description":"The ID of the attribute.","example":"17"},"name":{"type":"string","description":"The name of the attribute.","example":"SSL Cert Key Size"},"description":{"type":"string","description":"The description of the attribute.","example":"The SSL certificate key size refers to the length of the cryptographic key."},"values":{"type":"array","items":{"type":"object","description":"The app's attribute value information.","properties":{"name":{"type":"string","description":"The name of the attribute value.","example":"size"},"value":{"type":"string","description":"The value of the attribute value.","example":"2048"},"createdOn":{"type":"string","format":"date-time","description":"The date and time (ISO 8601 timestamp) when the system created the application attribute.","example":"2023-07-06T09:23:53.552924+00:00"},"updatedOn":{"type":"string","format":"date-time","description":"The date and time (ISO 8601 timestamp) when the system updated the application attribute.","example":"2023-08-21T16:49:19.151159+00:00"}},"example":{"name":"size","value":"2048","createdOn":"2023-07-06T09:23:53.552924+00:00","updatedOn":"2023-08-21T16:49:19.151159+00:00"},"$$ref":"#/components/schemas/ApplicationAttributeValue"}}},"example":{"id":"17","name":"SSL Cert Key Size","description":"The SSL certificate key size refers to the length of the cryptographic key","values":[{"name":"size","value":"2048","createdOn":"2023-07-06T09:23:53.552924+00:00","updatedOn":"2023-08-21T16:49:19.151159+00:00"}]},"$$ref":"#/components/schemas/ApplicationAttribute"}}},"example":{"id":"2","name":"Data Security","attributes":[{"id":"17","name":"SSL Cert Key Size","description":"The SSL certificate key size refers to the length of the cryptographic key.","values":[{"name":"size","value":"2048","createdOn":"2023-07-06T09:23:53.552924+00:00","updatedOn":"2023-08-21T16:49:19.151159+00:00"}]}]},"$$ref":"#/components/schemas/ApplicationAttributeCategory"}}},"example":{"attributesCategories":[{"id":"2","name":"Data Security","attributes":[{"id":"17","name":"SSL Cert Key Size","description":"The SSL certificate key size refers to the length of the cryptographic key.","values":[{"name":"size","value":"2048","createdOn":"2023-07-06T09:23:53.552924+00:00","updatedOn":"2023-08-21T16:49:19.151159+00:00"}]}]}]},"$$ref":"#/components/schemas/ApplicationAttributeCategoryList"},"example":{"attributesCategories":[{"id":"2","name":"Data Security","attributes":[{"id":"17","name":"SSL Cert Key Size","description":"The SSL certificate key size refers to the length of the cryptographic key","values":[{"name":"size","value":"2048","createdOn":"2023-07-06T09:23:53.552924+00:00","updatedOn":"2023-08-21T16:49:19.151159+00:00"}]}]}]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","description":"The error message returned in the response.","properties":{"message":{"type":"string"}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/InvalidRequest"},"401":{"description":"Unauthorized request","content":{"application/json":{"schema":{"type":"object","description":"The error message returned in the response.","properties":{"message":{"type":"string"}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/Unauthorized"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","description":"The error message returned in the response.","properties":{"message":{"type":"string"}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/Forbidden"},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","description":"The error message returned in the response.","properties":{"message":{"type":"string"}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/NotFound"},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","description":"The error message returned in the response.","properties":{"message":{"type":"string"}},"$$ref":"#/components/schemas/Error"}}},"$$ref":"#/components/responses/ServerError"}},"__originalOperationId":"getApplicationAttributes","method":"get","path":"/appDiscovery/applications/{applicationId}/attributes"}}