Skip to content

"Learned" Facts Don't Populate in Add Potential Link Modal #90

@deacon-mp

Description

@deacon-mp

Describe the bug
In Caldera v5, "learned" facts (facts parsed by abilities earlier in the operation) do not appear in the Add Potential Link modal for selection.

To Reproduce
Steps to reproduce the behavior (using Caldera v5 on Linux):

  1. Create a new operation using basic fact source.
  2. Execute the "Find local users" ability. Note in the output that the parser has identified several host.user.name fact values.
  3. In the "Add Potential Link" modal, select the "Find user processes" ability.
  4. Note that the ability requires a host.user.name value, but none of the values learned in the previous step populate as options in the form.

Expected behavior
When navigating the "Add Potential Link" form, both "Learned" and "Imported" values of required facts should appear as options with a checkbox. This is the behavior in Caldera v4.2.

Tested On:

  • OS: Linux (Ubuntu 22.04)
  • Browser: Firefox
  • Version: 5.0.0

Additional context
I assume in the Magma version of the Operation page, the fact source is only queried once when the operation is first created. Therefore, facts "learned" during the operation are never pulled and don't appear as options in the "Add Potential Link" modal. I intend to investigate when I have time.


Migrated from mitre/caldera#3041

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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