DAST Site Profile Library implementation - DastSiteProfile GraphQL Query - Backend
- overview: &2912
- parent issue: #231270 (closed)
Summary
This is the backend part adding the ability to list DastSiteProfiles
. Here we'll focus on creating a new GraphQL query that returns a paginated collection of DastSiteProfiles
e.g.
query DastSiteProfiles($fullPath: ID!, $after: Int, $before: Int, $first: Int, $last: Int) {
project(fullPath: $fullPath) {
dastSiteProfiles(after: $after, before: $before, first: $first, last: $last) {
pageInfo {
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
id,
profileName,
targetUrl,
validationStatus # stubbed until validation iteration is complete
}
}
}
}
}
Designs
- Figma file: https://www.figma.com/file/7CaJqOTOpPEOzkYkoU5bs5/DAST-Ondemand-Profile?node-id=159%3A0
- Figma file: https://www.figma.com/file/7CaJqOTOpPEOzkYkoU5bs5/DAST-Ondemand-Profile?node-id=1023%3A18668
Implementation Plan
-
Add new GraphQL query
Edited by David Pisek