Skip to content

Added expression definitions to the schema's in SOARCA - #371

Open
MaartendeKruijf wants to merge 3 commits into
developmentfrom
feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension
Open

MaartendeKruijf wants to merge 3 commits into
developmentfrom
feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension

Conversation

@MaartendeKruijf

Copy link
Copy Markdown
Collaborator

No description provided.

@MaartendeKruijf
MaartendeKruijf force-pushed the feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension branch 2 times, most recently from 1f27cfa to dbfed4e Compare May 27, 2026 12:23
@MaartendeKruijf
MaartendeKruijf force-pushed the feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension branch 2 times, most recently from a194d11 to 4443229 Compare July 10, 2026 12:33
@MaartendeKruijf
MaartendeKruijf force-pushed the feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension branch 2 times, most recently from 4443229 to 4708f13 Compare October 13, 2026 11:19
@MaartendeKruijf
MaartendeKruijf force-pushed the feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension branch from 4708f13 to f621260 Compare November 3, 2026 12:53
@@ -0,0 +1,28 @@
{
"$id": "https://raw.githubusercontent.com/COSSAS/SOARCA/refs/heads/development/extensions/soarca-assignment/expression/expression.json",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: would this be an issue that it points to development even on the master branch once eventually it gets merged, or just cosmetic?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs merging in master/main before we can point it there

@@ -0,0 +1,3 @@
# SOARCA assignment extension

This is the definition of the SOARCA assignment extension. This extension is used by SOARCA to allow for variable assignment based on step results. All SOARCA action steps have defined results. These defined results can be mapped into specific variables. To allow these variables to be useful the results can be processed by a expression engine. Currently SOARCA supports jq and regex. No newline at end of file

@Paul2803k Paul2803k Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: does SOARCA still currently support only jp and regex and if so, do we still need to mention all of the others in the expression.json? If we use that schema as info about what the user can use then we will need to filter the unsupported ones out.

@@ -0,0 +1,28 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: do we need to have 2 expression.json and 2 soarca-variable-assignment-extension.json files? cant we have 1 pair in a shared space or so?

@Paul2803k Paul2803k left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non blocking questions so approved :)

@MaartendeKruijf
MaartendeKruijf force-pushed the feature/370-1-playbook-extension-defined-variable-mapping-for-steps-to-be-reused-in-playbook-using-playbook-extension branch from 16b29ba to 6987ea0 Compare November 5, 2026 13:11

This branch has not been deployed

No deployments
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.

Defined variable mapping for steps to be reused in playbook using playbook extension

4 participants