Skip to main content

Rivex security posture collection agent (cross-platform)

Project description

rivex-agent

Agent collecteur multi-plateforme pour la plateforme de surveillance de posture de securite Rivex. Collecte logs systeme, version OS, niveaux de patchs, ports ouverts, permissions de fichiers sensibles et remonte le tout vers le serveur central chiffre.

Composant PMEs : s installe sur chaque machine (serveur Linux ou poste Windows) pour alimenter le score de securite en temps reel du dashboard.

Installation

A. Via PyPI (recommande pour developpeurs / tests)

pip install rivex-agent
rivex-agent --version

B. Installation systeme (service au demarrage)

Linux (root requis) :

pip install rivex-agent
sudo rivex-agent --install
# => /opt/rivex-agent/ + systemd unit + symlink /usr/local/bin/rivex-agent
sudo systemctl status rivex-agent

Windows (admin requis) :

pip install rivex-agent
rivex-agent --install            # UAC prompt automatique
Get-Service RivexAgent

C. Binaire autonome (sans Python)

Telecharger depuis le dashboard Rivex ou la page releases :

  • Linux : rivex-agent-linux-x86_64
  • Windows : rivex-agent-windows-x86_64.exe

Binaires PyInstaller sans dependance externe. Fonctionnement identique a la version pip.

D. Mode portable (developpement)

git clone https://gitlab.com/rivex/pa4a
cd pa4a/src/agent
python agent_launcher.py --version

Tous les modes partagent la meme CLI. Seuls les chemins de config / logs different (voir "Chemins" ci-dessous).

Commandes principales

Commande Description
rivex-agent --enroll --url https://rivex.example.com --c "srv-prod" Enregistre l agent sur le serveur
rivex-agent --scan Effectue un scan complet et envoie le payload
rivex-agent --sync Synchronise l etat avec le serveur
rivex-agent --status Affiche l etat local
rivex-agent --diagnostic Rapport complet (config, log, deps systeme, etc.)
rivex-agent --install Installe comme service systeme (root/admin)
rivex-agent --uninstall [--purge] Retire l installation
rivex-agent --install_status Etat de l installation (JSON)
rivex-agent --check_system_deps Audit des outils OS requis
rivex-agent --install_system_deps Installe les outils OS manquants
rivex-agent --check_protection Verifie l integrite des fichiers critiques
rivex-agent --patch <source> Applique un patch de remediation (file / URL)
rivex-agent --help Aide complete groupee par categorie

Elevation automatique

Les actions --install, --uninstall, --service-run, --patch, --install_system_deps, --update, --set_scan_interval, --enable_auto_scan, --disable_auto_scan declenchent une elevation automatique :

  • Linux : re-exec via sudo -E
  • Windows : UAC prompt via ShellExecuteW runas

Si deja admin, aucune invite n apparait.

Chemins

Mode Config Runtime Logs
Portable .runtime/config.json .runtime/ .runtime/logs/
Installe Linux /etc/rivex-agent/config.json (seed) + /var/lib/rivex-agent/.runtime/config.json (live) /var/lib/rivex-agent/.runtime/ /var/log/rivex-agent/
Installe Windows %ProgramData%\Rivex\Agent\config.json (seed) + .runtime\config.json (live) %ProgramData%\Rivex\Agent\.runtime\ %ProgramData%\Rivex\Agent\logs\

Compatibilite

  • Python 3.9 - 3.12
  • Linux : Debian / Ubuntu / RHEL / Fedora / Arch (detection auto du gestionnaire de paquets avec priorite apt-get > yum > pacman > dnf)
  • Windows : 10 / 11 / Server 2016+

Support

Documentation complete : _agent_explication.md (FR). Changelog : CHANGELOG.md. Issues / support : https://gitlab.com/rivex/pa4a/-/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rivex_agent-0.7.1.tar.gz (74.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rivex_agent-0.7.1-py3-none-any.whl (77.1 kB view details)

Uploaded Python 3

File details

Details for the file rivex_agent-0.7.1.tar.gz.

File metadata

  • Download URL: rivex_agent-0.7.1.tar.gz
  • Upload date:
  • Size: 74.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for rivex_agent-0.7.1.tar.gz
Algorithm Hash digest
SHA256 a26ddd6b391290fade6eed2172134f5d888ad9283dfe8fb6200fedd7c4e9ae48
MD5 d4640909c11ede79d302cc37ffe739a2
BLAKE2b-256 3497ffacf8a54e427d4b5084d918a0223c392fec30246d89b74742ad9d529b09

See more details on using hashes here.

File details

Details for the file rivex_agent-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: rivex_agent-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 77.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for rivex_agent-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82a49929270be7c96ac06ea430839d78850f39559b511a955e7114fea9c17411
MD5 38d92f8dbb4321ebb62abe7f96accabd
BLAKE2b-256 e224bf373a1e9e74e2cc6156f58513cff24ed81d3cf68e93acab6eae1d4be41c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page