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

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

Open
d3vco opened this issue Aug 29, 2024 · 1 comment
Open

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

d3vco opened this issue Aug 29, 2024 · 1 comment

Comments

@d3vco
Copy link
Contributor

d3vco commented Aug 29, 2024

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.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants