Skip to content

Fact source score of 0 still being used in the operation #3132

@onyxwasp

Description

@onyxwasp

Describe the bug
Caldera readthedocs mentions that assigning a fact source a score of 0 will prohibit that fact from being used in the operation. I created three total facts: two of them had a score of 1, and one of them had a score of 0. When I executed the operation, all three facts were used.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new fact source and assign a fact a score of 0.
  2. Run the appropriate operation that calls that fact.

Expected behavior
Only the two facts with a score of 1 should have been used in the operation, but all three were used, including the fact with a value of 0.

Screenshots
Image
Image

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • Browser: Firefox v135.0

Additional context
This was using Caldera v5.0.

Metadata

Metadata

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions