A command tool to perform the security check to xApp and set up EFK stack for monitoring xApp's behavior.
✅ Working well in Near-RT RIC Cluster [E Release]
✅ Ubuntu 18.04 LTS
xAppSec Usage:
./xAppSec.sh [OPTIONS]
[OPTIONS]:image
-i: initialize the envrionment.
-n: normal mode, do xApp image scanning,onboarding and installing the xApp.
-k: Setup Kibana Index Pattern.
-h: Help.
- Setup Environment for xApp image scanning, onboarding and deploying.
- Deploy EFK Stack for monitoring xApp's behavior.
- Automatically Setup Kibana Index Pattern.
The initialization includes the following steps:
- Install VeinMind SDK and related dependencies.
- Clone O-RAN xapp_onboarder repo.
- Build custom fluentd daemonset dockerfile.
- Deploy EFK K8S objects.
- Run helm server locally.
Run the following script for scanning xApp's image.
ImageRegistryCheck.py
backdoor_scan.py
image_history.py
Capture xApp's Pod log and present its behavior.
- Create Index Pattern automatically.
./xAppSec.sh -i
After initializing, a helm server is running. and waiting for xApp to onboard.
./xAppSec/sh -n
normal mode, to scan xApp image, Onboard xApp via descriptor