Skip to content

Commit eb3756b

Browse files
authored
Add jruby JAR path to the plugins Snyk scanning pipeline. (#18912)
* Add jruby JAR path to the plugins Snyk scanning which required by some of (e.g. dissect) plugins. * Make plugin snyk scanning noop for now. * Disable plugins snyk scanning pipeline schedule
1 parent 3ac9c2a commit eb3756b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.buildkite/scripts/snyk/plugins-scan/generate-steps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def generate_snyk_step(plugin_name: str, branch: str, logstash_branch: str = Non
136136
137137
# Export Gradle property for plugins that need logstashCoreGemPath
138138
export ORG_GRADLE_PROJECT_logstashCoreGemPath="{work_dir}/logstash/logstash-core"
139+
export ORG_GRADLE_PROJECT_logstashJRubyVendorPath="{work_dir}/{plugin_name}/vendor/jruby/lib/jruby.jar"
139140
"""
140141

141142
command = f"""#!/bin/bash

catalog-info.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ spec:
167167
access_level: MANAGE_BUILD_AND_READ
168168
everyone:
169169
access_level: READ_ONLY
170-
schedules:
171-
Daily Plugins Snyk scan:
172-
branch: main
173-
cronline: "@daily"
174-
message: "Run the Logstash Plugins Snyk report every day."
170+
#schedules:
171+
# Daily Plugins Snyk scan:
172+
# branch: main
173+
# cronline: "@daily"
174+
# message: "Run the Logstash Plugins Snyk report every day."
175175

176176
# ***********************************
177177
# Declare artifacts-snyk-report pipeline

0 commit comments

Comments
 (0)