InfraSonar Toolkit
Project description
Installation
Using pip:
pip install infrasonar
Or, clone this project and use the setup
python setup.py install
Upsert assets
Create a yaml file, for example: assets.yaml
labels:
windows: 3257
configs:
tcp:
checkCertificatePorts: [443, 995, 993, 465, 3389, 989, 990, 636, 5986]
assets:
- name: foo.local
kind: Windows
labels: ["windows"]
collectors:
- key: lastseen
- key: ping
- key: tcp
config: tcp
- key: wmi
Next, use the following command to upsert the assets: (-v for verbose output)
infrasonar -v upsert-assets assets.yaml
Token
A token might be included in the yaml file:
token: xxxxxx
Or, it will be asked in a prompt when starting the script.
Note that a container token with Agent flags must be used for this script to work!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
infrasonar-0.1.0.tar.gz
(18.4 kB
view hashes)