Skip to main content

Python utilities to parse technical information for security audits

Reason this release was yanked:

Not properly merged before building

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.3.tar.gz (70.3 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.3-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kp_analysis_toolkit-1.0.3.tar.gz
Algorithm Hash digest
SHA256 1d9140e378816d09e9bddd457d880a602886ce1acba7cb423d1fd97bfa466fbe
MD5 292a7f5c3edabe57a34a942913bb603b
BLAKE2b-256 063daf4e579245d6a644f0603b615d44a6903e5e7f5275cf0597e635ba116c51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kp_analysis_toolkit-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 32ecdb40aa2c82827f2a024183bb3bf11e4c3f181cdd1fd8f9423ffb54cdba68
MD5 a2550c2e884385c690cbc8a1e56e1dc8
BLAKE2b-256 61b23c430c89d722f3fd304054eb05eb7a5c84cbbdfcd124f7fd36207b1196c6

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