Skip to content

Commit

Permalink
Cloudforge review (#56)
Browse files Browse the repository at this point in the history
* Removed session credentials from toString to prevent secret exposure

* Exclude logging libraries to prevent issues with atlassian libs
  • Loading branch information
jelazos7 authored and fritzdj committed Nov 6, 2018
1 parent 663548b commit a081886
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
13 changes: 11 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,11 @@
</execution>
</executions>
</plugin>
<!-- Maven Shade Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions>
<!-- Run shade goal on package phase -->
<execution>
<phase>package</phase>
<goals>
Expand All @@ -410,6 +408,17 @@
</manifestEntries>
</transformer>
</transformers>
<artifactSet>
<!-- Bringing in additional logging libraries into the atlassian tools can cause adverse effects -->
<!-- safeguard for excluding logging libraries-->
<excludes>
<exclude>ch.qos.logback:*</exclude>
<exclude>org.apache.logging.log4j:*</exclude>
<exclude>log4j:*</exclude>
<exclude>org.slf4j:*</exclude>
<exclude>commons-logging:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ public String toString() {
"logger=" + logger +
", propertyHandler=" + propertyHandler +
", envName='" + envName + '\'' +
", sessionCredentials=" + sessionCredentials +
", awsClientConfig=" + awsClientConfig +
", region=" + region +
", rootPath='" + rootPath + '\'' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public String toString() {
"logger=" + logger +
", propertyHandler=" + propertyHandler +
", envName='" + envName + '\'' +
", sessionCredentials=" + sessionCredentials +
", awsClientConfig=" + awsClientConfig +
", region=" + region +
", timeout=" + timeout +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ public String toString() {
return "S3CreateContext{" +
"logger=" + logger +
", propertyHandler=" + propertyHandler +
", sessionCredentials=" + sessionCredentials +
", region=" + region +
", rootPath='" + rootPath + '\'' +
", taskProperties=" + taskProperties +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public LambdaPushContext withTaskProperties(
@Override
public String toString() {
return "LambdaPushContext{" +
"sessionCredentials=" + sessionCredentials +
", rootPath='" + rootPath + '\'' +
", bambooPropertyHandler=" + bambooPropertyHandler +
", logger=" + logger +
Expand Down

0 comments on commit a081886

Please sign in to comment.