Skip to main content

Utilities shared throughout the MozDef codebase

Project description

MozDef Util

Utilities shared throughout the MozDef codebase

Before a New release

  1. Run make clean to remove any previous build data

  2. Modify the version in the setup.py file.

  3. Add the new version and list the changes in the HISTORY.md file

To Push a New Release

This package contains a Makefile that will allow you to run the following commands:

  1. If you haven’t run make clean yet, do that before you run make release.

  2. Run make release which will package and upload the release.

Additional options provided by the Makefile:

  1. make dist builds source and wheel package

  2. make install installs the package to the active Python’s site-packages

  3. make lint runs flake8 on the codebase

History

1.0.0 (2018-10-16)

  • First release on PyPI.

1.0.1 (2018-10-17)

  • Modify License

1.0.2 (2018-10-30)

Update Geolite db location

1.0.3 (2019-01-16)

Add is_ip utility function

1.0.4 (2019-01-23)

  • Replaced timer with threads for cleaner bulk importing

1.0.5 (2019-03-06)

  • Replace elasticsearch flush with refresh

1.0.6 (2019-03-29)

  • Add get_aliases function to elasticsearch client

1.0.7 (2019-04-07)

  • Add close_index and open_index functions to elasticsearch client

1.0.8 (2019-04-16)

  • Transition away from custom _type for elasticsearch documents

2.0.0 (2019-06-27)

  • Add support for Elasticsearch 6

  • Remove support for Elasticsearch 5

2.0.1 (2019-06-28)

  • Fixed setup.py relative file paths

2.0.2 (2019-06-28)

  • Attempted fix at including static files

2.0.3 (2019-06-28)

  • Fixed static file includes in python package

3.0.0 (2019-07-08)

  • Updated to work with python3

  • Removed support for python2

3.0.1 (2019-07-08)

  • Updated bulk queue to acquire lock before saving events

3.0.2 (2019-07-17)

  • Updated ElasticsearchClient.get_indices() to include closed indices

3.0.3 (2019-07-18)

  • Added ElasticsearchClient.get_open_indices()

3.0.4 (2019-09-19)

  • Added SubnetMatch query models

3.0.5 (2020-04-29)

  • Rewrite dict2List to improve correctness and generality

3.0.6 (2020-04-29)

  • Ensure dict2List changes are included

3.0.7 (2020-08-03)

  • Replaces plugin structure in event with mozdef data class structure

  • Updates wheel version in requirements.txt

  • Adds comments to Make file

  • Updates Readme with release instructions

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

mozdef_util-3.0.7.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

mozdef_util-3.0.7-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file mozdef_util-3.0.7.tar.gz.

File metadata

  • Download URL: mozdef_util-3.0.7.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for mozdef_util-3.0.7.tar.gz
Algorithm Hash digest
SHA256 8d0c6eb4ad057e8429d233128185ac06402f3ab5df45dfca7676f13af9bfabee
MD5 bd4065d2b5dec7ba260cda7d9d76085d
BLAKE2b-256 2308c1a6a34eb491eaedde8ff4d74157dfbdf63bf5dc3d9c6fb95ea0e2c460b6

See more details on using hashes here.

File details

Details for the file mozdef_util-3.0.7-py3-none-any.whl.

File metadata

  • Download URL: mozdef_util-3.0.7-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for mozdef_util-3.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d6396d56b0130e4ac503abd4a45c94e3d1e436f1e41b49e79ffe368e9f9d1bb5
MD5 7758995981aa9fd29737eddc272d7fb6
BLAKE2b-256 27317d84b583e5f6e5d8414d48ae5ba4dddcef262272018e822d98f581c5a4c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page