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

Perhaps the use of transformers during query can be documented more clearly with more examples? #127

Open
iai-rsa opened this issue Feb 23, 2023 · 1 comment

Comments

@iai-rsa
Copy link

iai-rsa commented Feb 23, 2023

$2 = $1.transform(DropKeys, "keys=uid,gid") is an example from (https://github.com/ashish-gehani/SPADE/blob/master/src/spade/query/quickgrail/README.md) that works.
But when using other transformers, I get various errors.
For instance, $2 = $1.transform(Prune, "expression=name:sudo") gives the following error:
Invalid # of transformer arguments. Expected: [SOURCE_GRAPH, MAX_DEPTH, DIRECTION]
And, $2 = $1.transform(Blacklist) gives the following error:
Invalid # of transformer arguments. Expected: [SOURCE_GRAPH]

Thank you!

@iai-rsa
Copy link
Author

iai-rsa commented Feb 23, 2023

By the way, adding these transformers in SPADE Control Client can be done successfully.
But during query, the following errors may appear:
Error: Failed to execute query: Prune'
Error: Failed to execute query: Blacklist'

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

No branches or pull requests

1 participant