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.6.0.tar.gz (69.1 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.6.0-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rivex_agent-0.6.0.tar.gz
  • Upload date:
  • Size: 69.1 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.6.0.tar.gz
Algorithm Hash digest
SHA256 e105caafb068412bceb9e341c54df142a27d7476fbff6cb4f0af80059a2e7859
MD5 cec8a6ee02bafa3c8ff250592fc6c598
BLAKE2b-256 612baf2368e60242cdaca748be3d68df8f982e1ee5fa141fbe91c0c6cada94dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rivex_agent-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 71.9 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11b1ab8f55599592519f19cefec720f6c2d31e141f607be75d6264ab08565a56
MD5 7b67273defd9ec846a19d4f7bf596927
BLAKE2b-256 fd226e94164c67adba868e1d0f1e3d1e40ec112da3c22720171313dc79736f3a

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