Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clam 1675 container cache fix #724

Merged

Conversation

micahsnyder
Copy link
Contributor

@micahsnyder micahsnyder commented Oct 14, 2022

  • Fix caching bug with Intermediates & Container conditions

    Signatures that have conditions on a Container type or Intermediates types may not match if the target file is scanned outside of the container first, and cached as clean.

    The solution to this is to disable caching for layers that would have matched except for the Container (or Intermediates) condition.

  • Add regression test for Container/Intermediates cache issue

Signatures that have conditions on a Container type or Intermediates
types may not match if the target file is scanned outside of the
container first, and cached as clean.

The solution to this is to disable caching for layers that would
have matched except for the Container (or Intermediates) condition.
@micahsnyder micahsnyder merged commit 35ccb49 into Cisco-Talos:main Oct 21, 2022
24 checks passed
@micahsnyder micahsnyder deleted the CLAM-1675-container-cache-fix branch October 21, 2022 20:55
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.

None yet

2 participants