Skip to content

Commit

Permalink
DEF0417750: [Security Bug] Credential leakage through SSRF | Open source
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavani-velivala-sn committed Jun 30, 2023
1 parent d7d2422 commit 67192e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public FormValidation doTestConnection(@QueryParameter("instanceUrl") String ins
List<DomainRequirement> drl = null;
ItemGroup itemGroup = null;
Authentication authentication = null;
Jenkins.get().checkPermission(Jenkins.MANAGE);
Jenkins.get().checkPermission(Jenkins.ADMINISTER);

Check warning on line 241 in src/main/java/io/jenkins/plugins/config/DevOpsConfiguration.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 241 is not covered by tests
if (GenericUtils.isEmpty(instanceUrl))
return FormValidation.error("Please provide the url!");

Expand Down Expand Up @@ -517,4 +517,4 @@ public String getPolicyValidationURL() {
? String.format("%s/api/now/table/sn_cdm_policy_validation_result", getTrimmedUrl(getInstanceUrl()))
: null;
}
}
}

0 comments on commit 67192e2

Please sign in to comment.