Skip to content

Fix/dx 7895 import setup backup folder path#264

Open
harshitha-cstk wants to merge 5 commits into
v2-devfrom
fix/dx-7895-import-setup-backup-folder-path
Open

Fix/dx 7895 import setup backup folder path#264
harshitha-cstk wants to merge 5 commits into
v2-devfrom
fix/dx-7895-import-setup-backup-folder-path

Conversation

@harshitha-cstk

Copy link
Copy Markdown
Contributor

The backup folder path was logged via log.success, which maps to the info level. For progress-supported modules like import-setup, the logger omits the console transport when showConsoleLogs is false, so the path only reached the log file and never appeared in the terminal.
Print the success and backup-path messages directly via cliux.print when showConsoleLogs is false, so the path is always visible regardless of the setting. log.success is retained for the log-file record, and the direct print is guarded to avoid a duplicate line when showConsoleLogs is true.

add API key validation in import/export configurations
The backup folder path was logged via log.success, which maps to the info
level. For progress-supported modules like import-setup, the logger omits the
console transport when showConsoleLogs is false, so the path only reached the
log file and never appeared in the terminal.
Print the success and backup-path messages directly via cliux.print when
showConsoleLogs is false, so the path is always visible regardless of the
setting. log.success is retained for the log-file record, and the direct print
is guarded to avoid a duplicate line when showConsoleLogs is true.
@harshitha-cstk harshitha-cstk requested a review from a team as a code owner July 2, 2026 06:39
@harshitha-cstk harshitha-cstk self-assigned this Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 73 25 ✅ Passed
🟡 Medium Severity 0 1 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 1 90 / 365 days ⚠️ Warning
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 73
  • Medium without fixes: 1
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

Comment on lines +101 to +102
const successMessage = `Backup folder and mapper files have been successfully created for the stack using the API key ${importSetupConfig.apiKey}.`;
const backupPathMessage = `The backup folder has been created at '${pathValidator(path.join(importSetupConfig.backupDir))}'.`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move these to messages/index.json?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do we resolve the variables or values used in these logs

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 73 25 ✅ Passed
🟡 Medium Severity 0 1 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 1 90 / 365 days ⚠️ Warning
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 73
  • Medium without fixes: 1
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants