Skip to main content

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

Metadata

Release files for mozdef-util 3.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mozdef-util 3.0.7
File Size Uploaded Provenance
mozdef_util-3.0.7.tar.gz 13.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mozdef-util 3.0.7
File Interpreter ABI Platform
mozdef_util-3.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 40.3 kB

Release files / mozdef_util-3.0.7.tar.gz

Download URL mozdef_util-3.0.7.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8d0c6eb4ad057e8429d233128185ac06402f3ab5df45dfca7676f13af9bfabee
BLAKE2b-256 checksum
How to use checksums
2308c1a6a34eb491eaedde8ff4d74157dfbdf63bf5dc3d9c6fb95ea0e2c460b6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mozdef_util-3.0.7-py3-none-any.whl

Download URL mozdef_util-3.0.7-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6396d56b0130e4ac503abd4a45c94e3d1e436f1e41b49e79ffe368e9f9d1bb5
BLAKE2b-256 checksum
How to use checksums
27317d84b583e5f6e5d8414d48ae5ba4dddcef262272018e822d98f581c5a4c8
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for mozdef-util 3.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page