Skip to content

Commit

Permalink
Merge pull request #53 from rundeck-plugins/RUN-2306
Browse files Browse the repository at this point in the history
RUN-2306: Update AWS sdk version for CVE-2024-21634
  • Loading branch information
ahormazabal authored Oct 29, 2024
2 parents e5d1cc6 + 6ff395d commit b941ced
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
id: get_version
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo ::set-output name=VERSION::$VERSION
- name: Upload azure plugin jar
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
# Artifact name
name: Grails-Plugin-${{ steps.get_version.outputs.VERSION }}
# Directory containing files to upload
path: build/libs/rundeck-s3-log-plugin-${{ steps.get_version.outputs.VERSION }}.jar
path: build/libs/rundeck-s3-log-plugin-${{ steps.get_version.outputs.VERSION }}.jar
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,16 @@ dependencies {
// add any third-party jar dependencies you wish to include in the plugin
// using the `pluginLibs` configuration as shown here:

implementation "com.amazonaws:aws-java-sdk-s3:1.12.470"
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.470') {
implementation "com.amazonaws:aws-java-sdk-s3:${awsSdkVersion}"
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: "${awsSdkVersion}") {
exclude group: "com.fasterxml.jackson.core"
exclude group: "com.fasterxml.jackson.dataformat"
}
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.12.470') {
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: "${awsSdkVersion}") {
exclude group: "com.fasterxml.jackson.core"
exclude group: "com.fasterxml.jackson.dataformat"
}


//the compile dependency won't add the rundeck-core jar to the plugin contents
implementation group: 'org.rundeck', name: 'rundeck-core', version: rundeckVersion
testImplementation group: 'junit', name:'junit', version: '4.11'
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
group=org.rundeck.plugins
awsSdkVersion=1.12.777

0 comments on commit b941ced

Please sign in to comment.