MacOS OpenBSM library
Project description
OpenBSM-Python
Binding OpenBSM library for MacOS using Python
Install
clone this project and use pip3
pip3 install openbsm
Features
-
Read /var/audit/files like a
praudit
sudo python3 -m bsm.bin.praudit /dev/auditpipe
or after install
sudo pyaudit /dev/auditpipe
Output example:
header,173,11,ioctl(2),0,Thu Nov 21 18:05:36 2019, + 253 msec argument,2,0x40084106,cmd argument,3,0x7ffee20df4a0,arg path,/dev/auditpipe argument,1,0x4,fd attribute,8576,0,0,1202303120,320,184549377 subject,jhchoi,root,wheel,root,wheel,81615(/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python),100007,50331650,0.0.0.0 return,success,0 identity,0,,complete,,complete,0x trailer,173 header,173,11,ioctl(2),0,Thu Nov 21 18:05:36 2019, + 253 msec argument,2,0x40044105,cmd argument,3,0x7ffee20df4a0,arg path,/dev/auditpipe argument,1,0x4,fd attribute,8576,0,0,1202303120,320,184549377 subject,jhchoi,root,wheel,root,wheel,81615(/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python),100007,50331650,0.0.0.0 return,success,0
TODO
- Argtype classes
- Filter options for monitoring
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
openbsm-0.0.2.tar.gz
(22.0 kB
view details)
Built Distribution
openbsm-0.0.2-py3-none-any.whl
(31.4 kB
view details)
File details
Details for the file openbsm-0.0.2.tar.gz
.
File metadata
- Download URL: openbsm-0.0.2.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04443443a1b8de8f8655e875324c82bdfbc627c5d5955fe3f96b085d6061c7d1 |
|
MD5 | 11bad1cb8a423d3e5c06b130ac429255 |
|
BLAKE2b-256 | ae19b58747547d212f54f6ae59d2959da30747bed4fb6fff092c0d2710cca37d |
File details
Details for the file openbsm-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: openbsm-0.0.2-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb868869633d89dd44cb19367e72af830f4f297c3ea89cc7eda2ed2982aae7c4 |
|
MD5 | c16e61690c417fc56dfc544985ad2b61 |
|
BLAKE2b-256 | b4efaa64fb6d9d11fd871ac440887839d5e266f408b7f4dd8689191c61b4b1e2 |