Skip to content
Snippets Groups Projects
Unverified Commit 9c59a1e8 authored by Philip Cunningham's avatar Philip Cunningham
Browse files

Extend dast profile instance variable with branch

- Adds new field to @dast_profile ivar
- Updates specs to reflect change
parent 9b1b1fc7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -31,6 +31,7 @@ def edit
id: dast_profile.to_global_id.to_s,
name: dast_profile.name,
description: dast_profile.description,
branch: { name: dast_profile.branch_name },
site_profile_id: DastSiteProfile.new(id: dast_profile.dast_site_profile_id).to_global_id.to_s,
scanner_profile_id: DastScannerProfile.new(id: dast_profile.dast_scanner_profile_id).to_global_id.to_s
}
Loading
Loading
Loading
Loading
@@ -107,6 +107,7 @@
id: global_id_of(dast_profile),
name: dast_profile.name,
description: dast_profile.description,
branch: { name: dast_profile.branch_name },
site_profile_id: global_id_of(DastSiteProfile.new(id: dast_profile.dast_site_profile_id)),
scanner_profile_id: global_id_of(DastScannerProfile.new(id: dast_profile.dast_scanner_profile_id))
}.to_json
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment