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

Support complex scenarios for the Behaviormodeling mode #163

Merged
merged 22 commits into from
Feb 11, 2025

Conversation

Danny-Wei
Copy link
Member

@Danny-Wei Danny-Wei commented Jan 26, 2025

Fixes: #162

This PR adds a StorageType field in the ArmorProfileModel CRD that indicates the storage type. The manager will store the behavior data and profiles in a local file if they are too large to store in a CRD object. But the ArmorProfileModel object in memory will contain the complete data for merging and processing.

  • Save the behavior data and profiles in a local file when they are too large.
  • Provide APIs to export the behavior data and profiles.
  • The DefenseInDepth mode needs to load profiles from the local file if the StorageTypefiled of an ArmorProfileModel object isn't CRDInternal.
  • Update the document for this feature.

@Danny-Wei Danny-Wei requested a review from UgOrange February 10, 2025 07:57
@Danny-Wei Danny-Wei changed the title [WIP] Support complex scenarios for the Behaviormodeling mode Support complex scenarios for the Behaviormodeling mode Feb 11, 2025
@Danny-Wei Danny-Wei merged commit ca2fb17 into main Feb 11, 2025
11 checks passed
@Danny-Wei Danny-Wei deleted the save-larger-behavior-data-locally branch February 17, 2025 06:30
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.

[Feature] Support complex scenarios for the Behaviormodeling mode
2 participants