Skip to content

Clam 1675 container cache fix#724

Merged
val-ms merged 2 commits intoCisco-Talos:mainfrom
val-ms:CLAM-1675-container-cache-fix
Oct 21, 2022
Merged

Clam 1675 container cache fix#724
val-ms merged 2 commits intoCisco-Talos:mainfrom
val-ms:CLAM-1675-container-cache-fix

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms 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.
@val-ms val-ms force-pushed the CLAM-1675-container-cache-fix branch from ffa7dc4 to 498e365 Compare October 21, 2022 04:23
@val-ms val-ms merged commit 35ccb49 into Cisco-Talos:main Oct 21, 2022
@val-ms val-ms 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.

2 participants