Skip to content

Conversation

@cx-margarita-levitm
Copy link
Contributor

By submitting this pull request, you agree to the terms within the Checkmarx Code of Conduct. Please review the contributing guidelines for guidance on creating high-quality pull requests.

Description

This PR fixes AST-127206, where .dockerfile files were not collected due to a conflict between KicsBaseFilters and BaseIncludeFilters.
The issue occurred because BaseIncludeFilters matched the dock
pattern while KicsBaseFilters applied a ".dockerfile" with ""." prefix, causing .dockerfile files to be incorrectly excluded from collection.*

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Related Issues

Link any related issues or tickets.

Checklist

  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules
  • I have updated the CLI help for new/changed functionality in this PR (if applicable)
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Notes

Add any other relevant information.

@github-actions github-actions bot added the bug Something isn't working label Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix AST-127206: .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict Fix (AST-127206) .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict Dec 22, 2025
@github-actions
Copy link

github-actions bot commented Dec 22, 2025

Logo
Checkmarx One – Scan Summary & Details99c0f760-5dfa-4f1a-8901-6d0f48df4304

Great job! No new security vulnerabilities introduced in this pull request

@cx-margarita-levitm cx-margarita-levitm changed the title Fix (AST-127206) .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict Fix (bug/AST-127206) .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix (bug/AST-127206) .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict Fix bug .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix bug .dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict(AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict(AST-127206) bug/AST-127206 Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict(AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title bug/AST-127206 Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict(AST-127206) bug/AST-127206 Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title bug/AST-127206 Fix bug dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters issue (AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters issue (AST-127206) Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (bug/AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (bug/AST-127206) Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Dec 22, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict(AST-127206) Dec 23, 2025
@cx-margarita-levitm cx-margarita-levitm changed the title Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict(AST-127206) Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant