We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34ccf01 + d7311eb commit ea4cd87Copy full SHA for ea4cd87
.gitleaks.toml
kics.config
@@ -0,0 +1,4 @@
1
+# Exclude the docker-compose file from the scan since it's only used in the
2
+# development and CI (build, test) processes.
3
+exclude-paths:
4
+ - conjur-api-java/docker-compose.yml
src/main/java/com/cyberark/conjur/api/Token.java
@@ -132,7 +132,7 @@ public static Token fromJson(String json){
132
133
public static Token fromFile(Path filepath, Charset encoding)
134
throws IOException {
135
- byte[] encodedJson = Files.readAllBytes(filepath);
+ byte[] encodedJson = Files.readAllBytes(filepath.normalize());
136
String json = new String(encodedJson, encoding);
137
return fromJson(json);
138
}
0 commit comments