NIST 800-30 Risk Management for Netbox
Project description
Netbox Nbrisk
Netbox Plugin inspired in NIST 800-30 Risk Management
Compatibility
This plugin in compatible with NetBox 3.4.0 and later.
Installation
The plugin is available as a Python package and can be installed with pip. To ensure NBRisk plugin is automatically re-installed during future upgrades, create a file named local_requirements.txt (if not already existing) in the NetBox root directory (alongside requirements.txt) and list the NBRisk package:
For NetBox 3.4.x
# echo "NbRisk==34.*" >> local_requirements.txt
For NetBox 3.5.0 to 3.5.7
# echo "NbRisk==35.0.*" >> local_requirements.txt
For NetBox 3.5.8 to 3.7.x
# echo "NbRisk==35.1.*" >> local_requirements.txt
For NetBox 4.0.0 or grater
# echo "NbRisk==40.0.*" >> local_requirements.txt
For NetBox 4.1.0 or grater
# echo "NbRisk==41.0.*" >> local_requirements.txt
Before installing NBRisk make sure your NetBox instance is already installed with all migrations executed. With your NetBox fully installed, install the plugin with pip and enable it in your configuration.py
# In your configuration.py
PLUGINS = ["nb_risk"]
First run
source /opt/netbox/venv/bin/activate
to enter the Python virtual environment.
Then run
cd /opt/netbox/netbox
pip install NbRisk
python3 manage.py migrate nb_risk
Configuration
To assign vulnerabilities to a specific model in NB Risk, you can add the following code to the PLUGINS_CONFIG
section of your netbox/configuration.py
file, using the additional_assets
parameter:
PLUGINS_CONFIG = {
'nb_risk': {
'additional_assets': [
'app_label.model_name',
],
},
}
Replace app_label
and model_name
based in the model you want to add. For example, if you want to assign vulnerabilities to the platform model in the dcim app, you would use 'dcim.platform' as shown in the example below:
PLUGINS_CONFIG = {
'nb_risk': {
'additional_assets': [
'dcim.platform',
],
},
}
Note that you can specify multiple models by adding them to the additional_assets
list.
Screenshots
Plugin Menu
Vulnerability View
Affected Assets
Device Vulnerabilities
Threat Event View
Risks View
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nbrisk-41.0.2.tar.gz
.
File metadata
- Download URL: nbrisk-41.0.2.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79e1f8b34806524ce15628b298d83b6723e0a8ee1a1bb6b5ef0cca789c33451 |
|
MD5 | 2f73da12a594292c4e56781e316f67ef |
|
BLAKE2b-256 | 64c03d908b21dc160cee35d0fd9635591954d1207b185ae623113f351a210a38 |
File details
Details for the file NbRisk-41.0.2-py3-none-any.whl
.
File metadata
- Download URL: NbRisk-41.0.2-py3-none-any.whl
- Upload date:
- Size: 42.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bd489b7d0c319791005bddd6c0fd6112a25e50c739dfc6ca9d7790b0926e83a |
|
MD5 | 9b7fd046dc331a5b0491898ed4616d16 |
|
BLAKE2b-256 | d10f3039964b7486fafffbb40b424db784e694bf814e96023b9827bff79e61b8 |