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.5.tar.gz (70.4 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.5-py3-none-any.whl (82.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kp_analysis_toolkit-1.0.5.tar.gz
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for kp_analysis_toolkit-1.0.5.tar.gz
Algorithm Hash digest
SHA256 0e896570a8a5d561c017f3af4953c106f887b8d0dbfb33ae87f2afd9e1ef14af
MD5 239c9b0b402abde18ec806d54db2ed2e
BLAKE2b-256 b7c4234135ac10b31d50117f8b51850755f8a3917a95fbca18452a404064fe03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kp_analysis_toolkit-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 45e954386e0aa89c2262da97341a75f241e1f16854ba37e9c7568132428f83a5
MD5 6498be82638533c0c55000dfc10433af
BLAKE2b-256 c087d2dd9e512ffaafd19481cf6d3d0500e836620e6ef95211e3ef2dfdddb914

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