cif

CIF Ansible Роль

Полная учебная роль ansible для Рамки Коллективного Интеллекта.

Переменные Роли

# переменные
cif_version: 3.0.0b5
cif_user: cif
cif_group: cif
cif_etc_path: '/etc/cif'
cif_home: '/home/{{ cif_user }}'

smrt_enabled: true
router_enabled: true

GH_TOKEN: "{{ lookup('env', 'GH_TOKEN') }}"

# по умолчанию
smrt:
  user: "{{ cif_user }}"
  group: "{{ cif_group }}"
  home: "{{ cif_home }}"
  runtime_path: /var/run/smrt
  cache_path: /var/run/smrt
  rules_path: /etc/cif/rules
  fireball_size: 500
  goback_days: 3
  enable_service: false
  service_client: cif

router:
  release_url: "https://github.com/csirtgadgets/bearded-avenger/archive/{{ cif_version }}.tar.gz"
  user: "{{ cif_user }}"
  group: "{{ cif_group }}"
  home: "/home/{{ cif_user }}"
  runtime_path: "/var/run/{{ cif_user }}"
  etc_path: '/etc/cif'
  config_path: "{{ cif_etc_path }}/cif-router.yml"

  httpd:
    fireball_size: 500
    listen: 127.0.0.1
    token:

  hunter:
    token:
    exclude: 'osint.bambenekconsulting.com:dga'
    threads: 2

  gatherer:
    threads: 2
    geo_fqdn: 0

geoip:
  user: 999999
  key:  "000000000000"
  products: "GeoLite2-City GeoLite2-Country GeoLite-Legacy-IPv6-City GeoLite-Legacy-IPv6-Country 506 517 533"

Пример Плейбука

все вместе:

- hosts: servers
  roles:
     - { role: csirtgadgets.cif }

только маршрутизатор:

- hosts: servers
  roles:
     - { role: csirtgadgets.cif, smrt_enabled: False }

только smrt:

- hosts: servers
  roles:
     - { role: csirtgadgets.cif, router_enabled: False }

Лицензия

MPLv2

Информация об Авторе

Уэс Янг CSIRT Gadgets https://github.com/csirtgadgets/bearded-avenger-deploymentkit/wiki

О проекте

Collective Intelligence Framework

Установить
ansible-galaxy install csirtgadgets/cif-ansible-role
Лицензия
mpl-2.0
Загрузки
1881
Владелец
Helping Security Operators Innovate. Together- We are creating a Trustworthy Internet.