GET
/v1/cweList CWEs
Lists CWE records, optionally filtered by a case-insensitive substring in the CWE name or CWE ID. Use pageNumber with pageSize, or offset with limit, to paginate results; sortName and sortOrder control ordering.
searchTextstringoptional
A case-insensitive substring filter matched against the CWE name and CWE ID.
pageNumberstringoptional
The page number to return. Defaults to 1 when omitted; use with `pageSize`.
pageSizestringoptional
The number of elements to return per page. Defaults to 100 when omitted; use with `pageNumber`.
offsetstringoptional
The offset from which to start returning elements. Use with `limit`.
limitstringoptional
The number of elements to return. Use with `offset`.
sortNamestringoptional
The name of the resource field to sort by.
sortOrderstringoptional
The ordering to apply when sorting with `sortName`. The documented enum value is `asc, desc`.
200Returns a list of CWE records, each containing a CWE ID and name.
cweIdintegeroptional
namestringoptional
401Returned when the request is unauthorized.
Error handling
A 401 is returned when the request is unauthorized. When supplied, sortOrder must match the documented enum value asc, desc.