1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-09 01:05:53 +02:00
Commit Graph

203 Commits

Author SHA1 Message Date
d5a8b4eed2 remove deprecated iso-datetime parser 2023-12-04 11:35:37 -08:00
5ddd4f0e86 version bump to 1.24.0 2023-12-04 11:33:04 -08:00
3de6eac1ad swapon parser (#383) (#489)
* swapon parser

* revert lib

* fix lib

* Added tests

* Fix tests

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2023-11-28 11:15:40 -08:00
82ee4d7b30 add debconf-show parser 2023-11-23 14:52:06 -08:00
b7270517bd add tune2fs parser 2023-11-23 11:49:04 -08:00
b5c22c6e53 add deb-packages-index parser 2023-11-21 14:40:43 -08:00
59b89ecbd4 version bump 2023-10-24 15:24:33 -07:00
a89a9187f8 version bump 2023-10-23 07:53:16 -07:00
36ed2c7e2e add lsb_release parser 2023-10-01 18:12:22 -07:00
e643badaf7 add os-release parser 2023-10-01 17:42:00 -07:00
a1f10928e1 Add nsd-control (#454)
* Create nsd_control.py

Init nsd_control.py

* cleanup nsd-control + add test data

- Cleanup nsd-control parser
- Add test data

* add test script

add test script + fix test data

* Update test_nsd_control.py

fix a default test

* Update test_nsd_control.py

nit
2023-09-30 15:36:52 -07:00
36fa08d711 Add ISC 'host' support (#450)
* Add ISC 'host' support

Add ISC 'host' command support

* Update host.py

remove leading tab from string

* Add integer conversion

Per request, fix integer conversion

* Cleanup

Cleanup strip()'s

* Add tests

Add two tests for the 'host' parser

* Update test_host.py

nit

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2023-09-30 15:26:03 -07:00
f500de3af6 version bump 2023-08-21 17:17:34 -07:00
4cd721be85 Dev v1.23.4 (#439)
* version bump

* fix regex for crlf line endings

* Completed Ip_route parser (#429)

* tests

* Merge pull request #398 from kellyjonbrazil/dev

Dev v1.23.2

* Merge pull request #398 from kellyjonbrazil/dev

Dev v1.23.2

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
Co-authored-by: Jjack3032 <julian.jackson@parsons.us>

* formatting

* doc update

* use splitlines

* formatting

* formatting

* Parser for `find` linux command (#434)

* Added find parser and tests for Centos 7.7 and Ubuntu 18.04

* Added a test file, changed logic, and included a case for permission denied returned by find.

* Added a few more lines to the tests

* Changed logic for setting values to null and updated test cases.

* doc update

* doc update

* Added proc_net_tcp parser (#421)

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>

* clean up net_tcp parser

* add resolve.conf test files

* doc update

* add resolve.conf parser

* doc update

* add sortlist functionality

* add resolve.conf parser tests

* doc update

---------

Co-authored-by: Julian5555 <58196809+Julian5555@users.noreply.github.com>
Co-authored-by: Jjack3032 <julian.jackson@parsons.us>
Co-authored-by: solomonleang <124934439+solomonleang@users.noreply.github.com>
Co-authored-by: AlvinSolomon <41175627+AlvinSolomon@users.noreply.github.com>
2023-07-30 10:08:39 -07:00
5386879040 Revert "Added find parser and tests for Centos 7.7 and Ubuntu 18.04 (#430)"
This reverts commit f19a1f23a9.
2023-06-23 08:39:12 -07:00
f19a1f23a9 Added find parser and tests for Centos 7.7 and Ubuntu 18.04 (#430)
* Added find parser and tests for Centos 7.7 and Ubuntu 18.04

* Added a test file, changed logic, and included a case for permission denied returned by find.

* Added a few more lines to the tests

* Changed logic for setting values to null and updated test cases.
2023-06-23 08:38:56 -07:00
5023e5be4c Dev v1.23.3 (#426)
* make certificate search more robust to different line endings

* use license_files instead of license_file which is deprecated

* version bump

* parsing extra options -e, -o, -p

* fix for extra opts and different field length at option -[aeop]

* test integration for extra opts -e -o -p

* formatting and use ast.literal_eval instead of eval

* doc update

* doc update

* Add a parser to parse mounted encrypted veracrypt volumes (fixes #403)

* update compatibility warning message

* netstat windows parser

* tests

* Windows route parser

* tests

* id should be a string

* add veracrypt parser and docs

* formatting

* doc update

* lsattr parser

* Update test_lsattr.py

* changed keys to lowercase

* changed info

* support missing data for stat

* doc update

* doc update

* doc update

* ensure compatibility warning prints even with no data

* improve compatibility message

* add support for dig +nsid option

* New parser: srt (#415)

* srt parser

* changed the parser to support more complex cases

* doc updates

* Adding certificate request parser (#416)

* Adding certificate request parser

* Adding the CSR type for Windows-style CSR

---------

Co-authored-by: Stg22 <stephane.for.test@gmail.com>

* doc update

* add csr tests

* Last -x (#422)

* Refactored the parser

* last -x support

* doc update

* fix for ping on linux with missing hostname

* allow less strict email decoding with a warning.

* doc update

* use explicit ascii decode with backslashreplace

* doc update

* use jc warning function instead of print for warning message

* last -x shutdown fix (#423)

* inject quiet setting into asn1crypto library

* Parse appearance and modalias lines for mouse devices (fixes #419) (#425)

The bluetoothctl device parser is implemented so that it aborts the parsing
process immediately returning what it has collected so far. This is because
the parser should work in hydrid way to support outputs comming from bluetoothctl
devices and bluetoothctl info calls.

* doc update

* doc update

---------

Co-authored-by: gerd <gerd.augstein@gmail.com>
Co-authored-by: Jake Ob <iakopap@gmail.com>
Co-authored-by: Mevaser <mevaser.rotner@gmail.com>
Co-authored-by: M.R <69431152+YeahItsMeAgain@users.noreply.github.com>
Co-authored-by: Stg22 <46686290+Stg22@users.noreply.github.com>
Co-authored-by: Stg22 <stephane.for.test@gmail.com>
2023-06-21 15:48:23 -07:00
5e6d2562f9 add certbot command parser 2023-04-29 16:34:23 -07:00
3db9774ac6 doc update 2023-04-16 11:46:21 -07:00
313bd86e3e doc update 2023-04-02 12:57:56 -07:00
c60d899f31 ignore non-parser-plugin python files in plugin directory 2023-03-23 16:40:13 -07:00
92ad2068db version bump 2023-03-05 10:06:54 -08:00
cd8d43446b add zpool-status parser 2023-02-02 15:57:15 -08:00
d0b8a91f94 add zpool-iostat parser 2023-01-31 11:59:19 -08:00
a5a87c7da1 add ver parser 2023-01-25 15:58:27 -08:00
ac9128fa0c add ssh-conf parser 2023-01-21 13:10:45 -08:00
4d7a872670 version bump 2023-01-21 10:56:45 -08:00
029b5abcac add ini-dup parser 2023-01-08 19:46:13 -08:00
aeff94d272 add toml parser 2023-01-04 18:26:13 -08:00
ae6248227b version bump 2023-01-03 11:53:57 -08:00
33c40874fa version bump and add iwconfig parser 2022-12-23 09:12:09 -08:00
bcd7bac950 iwconfig: add to parser list + move test fixture to generic folder 2022-12-21 17:12:20 -05:00
491fce7052 add openvpn-status.log file parser 2022-12-13 17:31:05 -08:00
6e1a4a103c formatting and typing fixes 2022-12-13 12:13:27 -08:00
23e02090e0 add pgpass parser 2022-12-05 14:43:48 -08:00
9f4327f517 add clf-s streaming parser 2022-11-21 16:54:13 -08:00
7244868fbd initial common log format parser 2022-11-20 20:43:49 -08:00
7f1c57b89c version bump 2022-11-17 13:39:59 -06:00
2a530712cf add os-prober parser 2022-11-07 13:23:55 -08:00
fd22c7dc3a add git-ls-remote parser 2022-11-07 13:02:55 -08:00
35e74328c4 tests passing for ifconfig 2022-11-05 16:36:31 -07:00
e46ac0ff7e initial commit of new ifconfig parser 2022-11-05 12:13:01 -07:00
6d04db6113 add semver parser 2022-11-04 15:17:47 -07:00
50da124ea7 initial findmnt parser 2022-10-31 17:22:56 -07:00
f5988527fb add sshd_conf parser 2022-10-28 15:15:02 -07:00
747d12224f allow parser_info and get_help to use module objects as input 2022-10-28 10:36:54 -07:00
72f233b186 version bump 2022-10-25 11:53:08 -07:00
14a237749c type annotation cleanup 2022-10-19 13:32:16 -07:00
dfa7a71f53 move custom types to jc_types 2022-10-18 11:01:59 -07:00
597a8f468e normalize show_hidden and show_deprecated to be False by default 2022-10-18 09:35:24 -07:00