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

sequential ability operations #3047

Open
jfmaes opened this issue Sep 6, 2024 · 2 comments
Open

sequential ability operations #3047

jfmaes opened this issue Sep 6, 2024 · 2 comments
Labels

Comments

@jfmaes
Copy link

jfmaes commented Sep 6, 2024

Hi there

I'm trying to figure out how to run an operation in a sequantial order. I do not want caldera to "smartly" decide how to run an operation.

as an example I haven an op that

  1. creates a staging dir
  2. downloads a payload and moves it into the dir
  3. executes the payload

however, caldera for some reason ignores my order of steps and goes like this:

  1. create staging dir
  2. tries to execute the payload (which isnt there as its downloaded in step 2...) - errors out. stops operation...

I am assuming it has something to do with the planner, but I cant seem to figure it out, the documentation is not very clear or I am missing something obvious.

@jfmaes jfmaes added the question label Sep 6, 2024
Copy link

github-actions bot commented Sep 6, 2024

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

@uruwhy
Copy link
Contributor

uruwhy commented Sep 20, 2024

Are these abilities from one of the open-source plugins? If so, which ones are you using? Otherwise, if these are custom abilities, are you able to provide the yml file contents (without any sensitive information)? It sounds like the second ability may have some requirements or restrictions that prevents your agent from running it (e.g. unsupported executor, missing fact)

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

No branches or pull requests

2 participants