Skip to content
Snippets Groups Projects
Commit 5c09e414 authored by Etienne Baqué's avatar Etienne Baqué
Browse files

Merge branch 'sk/339028-fix-policy-yaml-response' into 'master'

Stringify policy yaml response in scanExecutionPolicies graphql query

See merge request gitlab-org/gitlab!68656
parents 30b70918 a5847351
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,7 +19,7 @@ def resolve(**args)
name: policy[:name],
description: policy[:description],
enabled: policy[:enabled],
yaml: policy.to_yaml,
yaml: YAML.dump(policy.deep_stringify_keys),
updated_at: policy_configuration.policy_last_updated_at
}
end
Loading
Loading
Loading
Loading
@@ -57,7 +57,7 @@
name: 'Run DAST in every pipeline',
description: 'This policy enforces to run DAST for every pipeline within the project',
enabled: true,
yaml: policy.to_yaml,
yaml: YAML.dump(policy.deep_stringify_keys),
updated_at: policy_last_updated_at
}
]
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