Skip to content

feat: Enhanced Static Analysis with Domain-Specific Scanning (CORE-2068)#87

Merged
robaone-redshelf merged 1 commit into
developfrom
ar-CORE-2068-limit-action.yml-scanning-to-domains-that-are-changed
Apr 9, 2025
Merged

feat: Enhanced Static Analysis with Domain-Specific Scanning (CORE-2068)#87
robaone-redshelf merged 1 commit into
developfrom
ar-CORE-2068-limit-action.yml-scanning-to-domains-that-are-changed

Conversation

@robaone-redshelf
Copy link
Copy Markdown
Contributor

@robaone-redshelf robaone-redshelf commented Apr 9, 2025

Description:

This PR adds domain-specific scanning capabilities to the static analysis action, making it more flexible and efficient.

Ticket:

https://virdocs.atlassian.net/browse/CORE-2068

Changes: (complexity: low-medium)

  • Added support for scanning specific domains using a JSON input format
  • Updated the domains input parameter to be optional with a detailed description
  • Added DOMAINS environment variable to the scan workflow step
  • Maintained backward compatibility for existing workflows

Technical Details

  • The domains input now accepts a JSON string in the format: {"include": [{"project": "domain1"}, {"project": "domain2"}]}
  • When domains are specified, the scanner will only check the .github directories in the listed domains
  • If no domains are specified, the scanner will check all domains (maintaining existing behavior)
  • The domain '.' is automatically excluded from scanning

These changes allow for more targeted static analysis while maintaining compatibility with existing workflows.

Verification

@robaone-redshelf robaone-redshelf merged commit 565fd30 into develop Apr 9, 2025
@robaone-redshelf robaone-redshelf deleted the ar-CORE-2068-limit-action.yml-scanning-to-domains-that-are-changed branch April 9, 2025 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants