Skip to content
Permalink
Browse files

ENH: contrib: development tools

  • Loading branch information
wagner-certat committed Dec 5, 2019
1 parent a5a357c commit a3de9176dff6cef05df97d79f4265bf56157c935
Showing with 16 additions and 1 deletion.
  1. +1 −0 CHANGELOG.md
  2. +2 −1 contrib/README.md
  3. +13 −0 contrib/development-tools/bots-feeds.sh
@@ -52,6 +52,7 @@ CHANGELOG
- `intelmq_generate_misp_objects_templates.py`: Tool to create a MISP object template (#1470).

### Contrib
* Added `development-tools`.

### Known issues

@@ -4,11 +4,12 @@
This directory contains contributed scripts which are helpful for maintaining an intelmq instance.

* **cron-jobs**: cron job files for pulling in newer versions of supporting databases such as pyasn
* **logcheck**: logcheck ruleset
* **logcheck**: logcheck ruleset to filter logs for error messages
* **prettyprint**: prints the json output for file-output bot prettyly
* **config-backup**: simple Makefile for doing a `make backup` inside of /opt/intelmq in order to preserve the latest configs
* **logrotate**: an example scrpt for Debian's /etc/logrotate.d/ directory.
* **check_mk**: Scripts for monitoring an IntelMQ instance with Check_MK.
* **development-tools**: Tools useful for development

## Outdated
The following scripts are out of date but are left here for reference. TODO: adapt to current version
@@ -0,0 +1,13 @@
#!/bin/bash

echo "Bots:"
jq '.Collector | keys | length' intelmq/bots/BOTS
jq '.Parser | keys | length' intelmq/bots/BOTS
jq '.Expert | keys | length' intelmq/bots/BOTS
jq '.Output | keys | length' intelmq/bots/BOTS

echo "Feeds:"
egrep -c '^ [^ ]' intelmq/etc/feeds.yaml
echo "Shadowserver:"
python3 -c "import intelmq.bots.parsers.shadowserver.config; print(len(intelmq.bots.parsers.shadowserver.config.mapping))"

0 comments on commit a3de917

Please sign in to comment.
You can’t perform that action at this time.