DAST Site profile - update query component to support Authentication, Request headers & Excluded Urls - Backend
- Parent issue: &3766 (closed)
- frontend counterpart: #271226 (closed)
Summary
This is to add support for Authentication, Request headers and excluded urls fields to the query component.
Designs
Implementation plan
-
Update DastSiteProfiles-
add support for request headers and excluded urls -
add support for authentication details
-
-
Update specs
--- proposal_iteration1.graphl
+++ proposal_iteration2.graphl
@@ -2,12 +2,26 @@ query DastSiteProfiles($fullPath: ID!, $after: String, $before: String, $first: Int, $last: Int) {
project(fullPath: $fullPath) {
siteProfiles: dastSiteProfiles(after: $after, before: $before, first: $first, last: $last) {
pageInfo {
...PageInfo
}
edges {
cursor
node {
id
profileName
targetUrl
editPath
validationStatus
+ auth {
+ enabled
+ url
+ usernameField
+ passwordField
+ username
+ }
+ excludedUrls
+ requestHeaders
+ }
}
}
}
}
Edited by Philip Cunningham