Skip to content

feat: add support for asset scaning in import command#157

Open
naman-contentstack wants to merge 2 commits into
feat/Asset-Scanningfrom
feat/DX-5631
Open

feat: add support for asset scaning in import command#157
naman-contentstack wants to merge 2 commits into
feat/Asset-Scanningfrom
feat/DX-5631

Conversation

@naman-contentstack
Copy link
Copy Markdown
Contributor

@naman-contentstack naman-contentstack commented May 21, 2026

Summary

  • Adds automatic detection of the Asset Scanning feature on the org's plan during the import flow. When the org has either assetsScan (CMS assets) or amAssetsScan (DAM/CS Assets) enabled in its plan, the import command now skips the asset publish step automatically — no manual flag required.

  • Adds assetScanningEnabled to ImportConfig to carry the detected state through the import pipeline.
    When publish is skipped due to scanning, a clear guidance message is logged after import completes, directing the user to run csdx cm:stacks:bulk-assets --data-dir ./content once scanning finishes.

@naman-contentstack naman-contentstack self-assigned this May 21, 2026
@naman-contentstack naman-contentstack requested a review from a team as a code owner May 21, 2026 07:01
@github-actions
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 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

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 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions
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 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

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 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@naman-contentstack naman-contentstack changed the base branch from v2-dev to feat/Asset-Scanning May 21, 2026 08:29
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.

1 participant