List Applications - V2
/api/v2/org/{orgId}/apps List Applications V2
Lists applications that belong to this organization.
Returns a new style paginated list of Applications.
| Parameter | Default | Description |
|---|---|---|
| orgId | "" | The org id that these applications belong to. |
| applications | [] | List of applications. |
| totalCount | 0 | Total number of applications in the results. |
| currentPage | {} | The current page. |
| hasNext | false | Whether or not there is a next page. |
| nextPage | {} | |
| nextPageToken | "" | |
| hasPrev | false | Whether or not there is a previous page. |
| prevPage | {} | |
| prevPageToken | "" |
Application
Applications group scan results from HawkScan, and coordinate settings to influence HawkScan behavior. The application may also contain a specific environment name and id. For more information, see Applications.
| Parameter | Default | Description |
|---|---|---|
| applicationId | "" | The UUID identifier of this application. |
| name | "" | The name of this application. |
| env | "" | The name of this environment. Only set when requesting Application Environments. |
| envId | "" | The UUID identifier of this environment. |
| applicationStatus | "ACTIVE" | The status of this application. Either ACTIVE or ENV_INCOMPLETE. |
| organizationId | "" | The UUID identifier of the organization that owns this application. |
| applicationType | "STANDARD" | The type of this application. |
| cloudScanTarget | {} | Optional Cloud Scan Target configuration. |
The returned list of applications is filtered by the organization id and User's API Token Team membership.
Filter Query Params
query: A string to filter applications by name.appIds: A comma-separated list of application uuids to filter by.teamIds: A comma-separated list of team uuids to filter by.applicationStatus: A comma-separated list of application statuses to filter by. Possible values areACTIVEandENV_INCOMPLETE.
Requires
read:applicationpermission.
Path parameters
orgIdstring · uuidrequiredUUID identifier for this StackHawk Organization.
Query parameters
querystringA term used to filter results based on matching content in one or more fields.
sortFieldstringResource field to sort paginated response by.
5 available options
applicationIdapplicationNameapplicationStatusmappedRepositoryCountthirtyDayCommitActivitysortDirstringPaginated results are sorted 'asc' or 'desc'.
3 available options
ASCDESCUNSORTEDpagestringPagination page key.
pageSizeinteger · int32Pagination response size limit.
10pageTokeninteger · int32Pagination request page increment.
0appIdsstring[]A comma-delimited list of UUID identifiers of StackHawk Applications.
teamIdsstring[]A comma-delimited list of UUID identifiers of StackHawk Teams to filter by.
applicationStatusstring[]A comma-separated list of application status filters.
applicationTypesstring[]A comma-separated list of ApplicationType names.
["STANDARD"]Response
Paginated response of applications.
List of applications.
Whether or not there is a next page.
Whether or not there is a previous page.
The org id that these applications belong to.
Total number of applications in the results.
List of applications.
Whether or not there is a next page.
Whether or not there is a previous page.
The org id that these applications belong to.
Total number of applications in the results.
Unauthorized