-
Notifications
You must be signed in to change notification settings - Fork 897
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
refactor(userspace/falco): reduce app actions dependency on app state and inspector #2097
Conversation
/milestone 0.33.0 |
Signed-off-by: Jason Dellaluce <[email protected]>
…action Signed-off-by: Jason Dellaluce <[email protected]>
…es action Signed-off-by: Jason Dellaluce <[email protected]>
…_events action Signed-off-by: Jason Dellaluce <[email protected]>
…info action Signed-off-by: Jason Dellaluce <[email protected]>
Signed-off-by: Jason Dellaluce <[email protected]>
b58addb
to
4779ef7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM label has been added. Git tree hash: c70c88d2161936935f381d5d936c86278be3c090
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This PR removes the need of accessing the app state inspector for some actions. They now create an inspector on-the-fly if needed.
Accordingly, the action order has been updated depending on their app state dependencies. Now, actions that do not need a given loading/initialization step are moved before it. For instance, this fixed the
--list-syscall-events
command which does not really require a configuration file loaded, but until now failed if no-c
was specified.Which issue(s) this PR fixes:
Special notes for your reviewer:
This supported the work of #2074, for which reducing the internal dependencies on the single app state inspector is crucial in order to start managing more than one.
Does this PR introduce a user-facing change?: