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
prauditsudo python3 -m bsm.bin.praudit /dev/auditpipeor after install
sudo pyaudit /dev/auditpipeOutput 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
Release files for openbsm 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openbsm-0.0.2.tar.gz | 22.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openbsm-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:53.4 kB
Release files / openbsm-0.0.2.tar.gz
| Download URL | openbsm-0.0.2.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04443443a1b8de8f8655e875324c82bdfbc627c5d5955fe3f96b085d6061c7d1
|
|
BLAKE2b-256 checksum How to use checksums |
ae19b58747547d212f54f6ae59d2959da30747bed4fb6fff092c0d2710cca37d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / openbsm-0.0.2-py3-none-any.whl
| Download URL | openbsm-0.0.2-py3-none-any.whl |
|---|---|
| Size | 31.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb868869633d89dd44cb19367e72af830f4f297c3ea89cc7eda2ed2982aae7c4
|
|
BLAKE2b-256 checksum How to use checksums |
b4efaa64fb6d9d11fd871ac440887839d5e266f408b7f4dd8689191c61b4b1e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|