Skip to main content

Python utilities to parse technical information for security audits

Project description

analysis-toolkit

The analysis toolkit is a collection of scripts designed to assist auditors analyze the results of the KP system auditing scripts maintained at:

Critical dependencies

  • Shell: a recent version of bash
  • Python: A recent release of version 3. Both 3.10 (Ubuntu 22.04) and 3.12+ should be fine
  • Misc. commands:   grep echo awk sort

The scripts have been tested and are usually used on Ubuntu distributions. They were developed on WSL instances of Ubuntu 20.04 and 22.04. YMMV on other distributions or versions, but I don't foresee any problems, say, on a MacOS Terminal prompt.

For KP auditors, I strongly recommend following the Getting started with WSL and Bashing Our Way to Efficient Audits pages on Confluence.

I also recommend that you use the Windows Terminal app available from the Microsoft Store. Among other numerous benefits, this will allow to click on hyperlinks created by some of the tools.

Installation

Prequisites:

  • A supported version of Python
  • Python's PIPX
    • Windows (and others where PIPX isn't installed by the OS package manager): pip install pipx
    • Ubuntu (and for other distro's where it's provided as an OS package): sudo apt install pipx

Installation is as simple as using Python's PIPX to install the package from PyPI.

Windows PowerShell

Assuming Python is already installed:

pip install pipx
pipx ensurepath
# Restart PowerShell window to get new PATH
pipx install kp-analysis-toolkit

Ubuntu

Or others where PIPX is provided by the OS package manager -- replace apt with other package manager as needed:

sudo apt install pipx
pipx ensurepath
# Restart shell prompt window to get new PATH
pipx install kp-analysis-toolkit

Updating the toolkit

Change to the analysis-toolkit directory

pipx update kp-analysis-toolkit

Using the toolkit scripts

Each toolkit script includes a "help" function to explain the options.

<script> -h

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

kp_analysis_toolkit-1.0.2.tar.gz (70.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kp_analysis_toolkit-1.0.2-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

Details for the file kp_analysis_toolkit-1.0.2.tar.gz.

File metadata

  • Download URL: kp_analysis_toolkit-1.0.2.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for kp_analysis_toolkit-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3b570da4d051e984e1654e500b1a4c46a37cf70a44009dd02b1eb3c5f3e5b23c
MD5 64d615660faa126995ae95d1f65091f4
BLAKE2b-256 27c1f61ea1e9240118dc1c6211d085bebedc7db33982d553def3855e94d84270

See more details on using hashes here.

File details

Details for the file kp_analysis_toolkit-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kp_analysis_toolkit-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0f49696fc5fb041476c07503d53f9ef6379ecff36832fc6d3378e58618135ba
MD5 655ad9b73dd0fe95ff97f95e20b2a869
BLAKE2b-256 17a6c9494236cf83354ef36f1ba01d0a49c125fadbf46b00be408c0cc4ec80e5

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