Giter Club home page Giter Club logo

zabbix-template-pingcastle-reporting's Introduction

Zabbix Template for PingCastle Reporting

What is PingCastle

Ping Castle is a tool designed to assess quickly the Active Directory security level with a methodology based on risk assessment and a maturity framework. It does not aim at a perfect evaluation but rather as an efficiency compromise.

What is Zabbix Template for PingCastle Reporting

This is a template for collecting high level overview of the status reported by PingCastle. It is intended as basis for C-level reporting dashboard. It includes the most important metrics (scores in PingCastle terminology).

Here you can find the template itself and a sample bash script process.sh for parsing reports and sending to Zabbix.

How is this template Designed

The template is designed with Zabbix Trapper items. This choice is dictated by the fact that AD scanning by pingcastle is performed on a machine separate from the Zabbix server/agent/proxy and then possibly processed on another machine.

It is possible to operate with regular items but this is not easily coordinated on a general basis and needs tuning.

What is monitored

Currently only key indicators are monitored

Item Key Description
Engine Version pingcastle.EngineVersion Version of the PingCastle tool used to generate the report
GlobalScore pingcastle.GlobalScore Max of all other scores
PrivilegiedGroupScore pingcastle.PrivilegiedGroupScore Score about privileges
StaleObjectsScore pingcastle.StaleObjectsScore Score about stale objects
TrustScore pingcastle.TrustScore Score about trusted domains and issues therein
AnomalyScore pingcastle.AnomalyScore Anomalies not fitting in any of the rest
DomainAdministrators pingcastle.DomainAdministrators Number of Domain Administrators
TotalRiskPoints pingcastle.TotalRiskPoints Sum of all matched RiskRule's ponts

Available Triggers

For every score (Global, Privileged, Stale, Trust, Anomaly) there are 4 triggers according to PingCastle documentation

  • 0 - no risk identified but some improvements detected
  • between 1 and 10 - a few actions have been identified
  • between 10 and 30 - rules should be looked with attention
  • score higher than 30 - major risks identified

Macros have been provided to tune the thresholds per host

For Domain Administrators there is a single non recovering trigger that fires on change. The event must be manually acknoleged and closed.

There is also a trigger for stale data.

Available Macros

Macros Default Description
{$PINGCASTLE_NODATA_DAYS} 21d Threshold to alert if no data received for XX days (default 21d)
{$PINGCASTLE_THRESHOLD_WARNING} 10 Threshold for firing warning trigger (default 10)
{$PINGCASTLE_THRESHOLD_AVERAGE} 30 Threshold for firing average trigger (default 30)
{$PINGCASTLE_THRESHOLD_HIGH} 50 Threshold for firing high trigger (default 50)

How to Use

  • Import Template into Zabbix (will go in Templates/PingCastle group)
  • Create a host with DomainSID as hostname. Use any custom nice looking name in the display name field
  • Make sure you have zabbix_send and xmllint installed on the machine doing the processing
  • Run process.sh

process.sh

A sample process.sh bash script is included for parsing the Pingcastle reports and submitting them to Zabbix.

Requirements

process.sh - requires as a minimum xmllint from libxml2-utils and zabbix_send

Questions / Issues / Others

Feel free to use the issues system for requests and others

zabbix-template-pingcastle-reporting's People

Contributors

renovate-bot avatar renovate[bot] avatar zeridon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zabbix-template-pingcastle-reporting's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/pre-commit.yml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-python v5
  • pre-commit/action v3.0.0
.github/workflows/super-linter.yml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • github/super-linter v5
pip_requirements
requirements-dev.txt
pipenv
Pipfile

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.