Feedback

netalertx-settings-management

@netalertx Claim

Basic information

Repository
netalertx
Skill
netalertx-settings-management

About netalertx-settings-management

Manage NetAlertX configuration settings. Use this when asked to add setting, read config, get_setting_value, ccd, or configure options.

netalertx-settings-management is an agent skill listed in the AddMCP.net directory, published by netalertx. Runtime: Python. License: GPL-3.0. The repository has 7,348 GitHub stars. Source code is hosted on github.com. Related topics: arp-scan, asset-management, dcim, ipam, network-analysis.

Overview

What is netalertx-settings-management?


name: netalertx-settings-management description: Manage NetAlertX configuration settings. Use this when asked to add setting, read config, get_setting_value, ccd, or configure options.


Settings Management

Reading Settings

from helper import get_setting_value

value = get_setting_value('SETTING_NAME')

Never hardcode ports, secrets, or configuration values. Always use get_setting_value().

Adding Core Settings

Use ccd() in server/initialise.py:

ccd('SETTING_NAME', 'default_value', 'description')

Adding Plugin Settings

Define in plugin's config.json manifest under the settings section.

Config Files

| File | Purpose | |------|---------| | /data/config/app.conf | Runtime config (modified by app) | | back/app.conf | Default config (template) |

Environment Override

Use APP_CONF_OVERRIDE environment variable for settings that must be set before startup.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬