Skip to content

Commit 7d10caa

Browse files
TOOL-28261 Added Mend Scan Attributes (#358)
Added Mend Scan Attributes PR URL: https://www.github.com/delphix/linux-pkg/pull/358
1 parent df91d83 commit 7d10caa

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

packages/containerized-masking/config.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
source "$PWD/lib/common.sh"
2929

3030
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dms-core-gate.git"
31+
MEND_SCAN_APPLICABLE="true"
32+
MEND_SCAN_IMAGES="'delphix-masking-proxy', 'delphix-masking-database', 'delphix-masking-app'"
3133

3234
SKIP_COPYRIGHTS_CHECK=true
3335

packages/delphix-sso-app/config.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
# shellcheck disable=SC2034
1818

1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/saml-app.git"
20+
MEND_SCAN_APPLICABLE="true"
21+
MEND_SCAN_USING_SUDO="true"
2022

2123
function build() {
2224
local java_home

packages/masking/config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
source "$PWD/lib/common.sh"
2020

2121
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dms-core-gate.git"
22+
MEND_SCAN_APPLICABLE="true"
2223

2324
function prepare() {
2425
logmust read_list "$WORKDIR/repo/packaging/build-dependencies"

packages/virtualization/config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ source "$PWD/lib/common.sh"
2020

2121
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dlpx-app-gate.git"
2222
PACKAGE_DEPENDENCIES="crypt-blowfish host-jdks"
23+
MEND_SCAN_APPLICABLE="true"
2324

2425
function prepare() {
2526
logmust read_list "$WORKDIR/repo/appliance/packaging/build-dependencies"

query-packages.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ source "$TOP/lib/common.sh"
2525
#
2626
export LOGGING=false
2727

28-
ALL_OUTPUT_FIELDS=(name git-url dependencies can-update)
28+
ALL_OUTPUT_FIELDS=(name git-url dependencies can-update mend-scan mend-scan-images mend-scan-using-sudo)
2929

3030
function usage() {
3131
local output_fields="${ALL_OUTPUT_FIELDS[*]}"
@@ -70,6 +70,9 @@ function print_package() {
7070
case "$field" in
7171
name) outarray+=("$pkgname") ;;
7272
git-url) outarray+=("${DEFAULT_PACKAGE_GIT_URL:-none}") ;;
73+
mend-scan) outarray+=("${MEND_SCAN_APPLICABLE:-none}") ;;
74+
mend-scan-images) outarray+=("${MEND_SCAN_IMAGES:-none}") ;;
75+
mend-scan-using-sudo) outarray+=("${MEND_SCAN_USING_SUDO:-none}") ;;
7376
dependencies)
7477
for dep in $PACKAGE_DEPENDENCIES; do
7578
check_package_exists "$dep"

0 commit comments

Comments
 (0)