perfspec-learning/README.md

51 lines
1.7 KiB
Markdown
Raw Normal View History

2025-01-20 04:31:16 +00:00
# PerfSPEC Learning Phase
2025-01-20 05:51:54 +00:00
Based in [PrefSPEC: Performance Profiling-based Proactive Security Policy Enforcement for Containers](https://ieeexplore.ieee.org/document/10577533) document presented in [1], thir repository contains source files used to generate and process data.
__PerfSPEC__ has three phases:
- Ranking
- Learning
- Runtime
This repository is focused in __Learning__ phase with attention on:
- Event logs info load and process
- Predictive learning model
> Note: It is considered that __event data collection__ in `raw-audit-logs.log` are realistic and representative to simulate
administrative operations.
## Files
2025-01-20 06:51:02 +00:00
2025-01-20 05:51:54 +00:00
- `raw-audit-logs.log` contains raw Kubernetes audit logs collected using the `audit-policy.yaml` audit policy.
2025-01-20 06:57:26 +00:00
Tools are distributed in directories:
- Collect
- Process
- Learning
As some tasks can be used in [Python](https://python.org) or [Rust](https://www.rust-lang.org/) there are directories for each programming languge inside directories tasks.
2025-01-20 06:51:02 +00:00
### Collect data
2025-01-20 06:57:26 +00:00
If you wish to [collect](collect) your own dataset, there are several source files that might help:
2025-01-20 06:51:02 +00:00
- `collect/collect.py` is a script to trigger the installation and uninstallation of public Helm repositories.
- `collect/helm-charts.json` is a backup of Helm charts used at the time of the collection.
### Process data
### Learning
2025-01-20 05:51:54 +00:00
## Reference
Source document
te this dataset in your publication if it helps your research:
[1]: [H. Kermabon-Bobinnec et al., "PerfSPEC: Performance Profiling-based Proactive Security Policy Enforcement for Containers," in IEEE Transactions on Dependable and Secure Computing, doi: 10.1109/TDSC.2024.3420712.](https://ieeexplore.ieee.org/document/10577533)