Laceworksdk

Latest version: v4.1.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.0.0

Chore

* chore: verify and update examples script to ensure they work (146)

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`f1fb12f`](https://github.com/lacework/python-sdk/commit/f1fb12f0c95eb0d8765d32fb3fc0ca893b0a81ba))

* chore: update tests to include all current python versions (135)

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`9c2e858`](https://github.com/lacework/python-sdk/commit/9c2e858fa0c021ef1c80a4ae98e854ac876d8e5c))

* chore: fix indent in workflow yaml (134)

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`965bd62`](https://github.com/lacework/python-sdk/commit/965bd620b809c371ae0b18059085efe7c2c7b91a))

* chore: add slack notification for test failure (133)

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`89443ec`](https://github.com/lacework/python-sdk/commit/89443ecb0379ad8af54e10e4f54ded7ef7463288))

Ci

* ci(release): add git tag signing

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`481a4b9`](https://github.com/lacework/python-sdk/commit/481a4b911adcb88b9f13ea4120976d7a9a522bb6))

* ci(release): fix commit author

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`d2d938d`](https://github.com/lacework/python-sdk/commit/d2d938d5a859519fffa2c70eaedb78ab0acef1dd))

* ci(release): update committer user name

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`3846da5`](https://github.com/lacework/python-sdk/commit/3846da5306670ebd13bc56064d1ff343aa630682))

* ci(release): correct secret access syntax

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`3a6fc0f`](https://github.com/lacework/python-sdk/commit/3a6fc0f5a67d0c8b52dd749edf9ee80f3c0403ca))

* ci(release): add gpg signing key

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`127a1f3`](https://github.com/lacework/python-sdk/commit/127a1f3ef84d572922680aa1b8c55f903aae34a0))

* ci(release): activate the publish github action

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`2272e5b`](https://github.com/lacework/python-sdk/commit/2272e5bead075cb5f7a74f58140a3847bccde75e))

* ci(release): run semantic release inside of poetry shell

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`76919e7`](https://github.com/lacework/python-sdk/commit/76919e79e8c52d040e5fab6c04caa983fb5030e9))

* ci(release): add ability to run release from release branch

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`2aae9fa`](https://github.com/lacework/python-sdk/commit/2aae9faf83eeebb08b0accb17eaf9fdd2aca1846))

* ci(release): update github release action (156)

* ci(release): updates to gh release action

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* ci(release): update git username

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* ci(release): add correct username and email for release

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* ci(release) fix commit user

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* ci(release): remove incorrect flag from semantic-release in GH action

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`da1f4d8`](https://github.com/lacework/python-sdk/commit/da1f4d802b07eb6b1e1fef8d12a75a43813299e2))

* ci(release): add poetry to release action (155)

poetry needs to be installed for semantic release action to run

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`626af97`](https://github.com/lacework/python-sdk/commit/626af973b9920e0ad221f106dedb4ce9b2af1f8c))

* ci: add github action for semantic release (154)

* ci (release): add semantic release configuration

Preparing to switch over to semantic release

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* ci: github action added for semantic release

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`8968228`](https://github.com/lacework/python-sdk/commit/8968228a5769ff17af91b7dce51e6714456feb13))

Documentation

* docs: fix CRUD search method docstring (145)

It indicates a generator as a return type when it is actually a dict

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`4894932`](https://github.com/lacework/python-sdk/commit/48949327db597ab49f411b089760d25f2b59f3e3))

* docs: Add handcrafted documentation (141)

* docs: Add handcrafted documentation

To augment the autogenerated API docs

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: minor doc updates

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: minor docs changes

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`dea0162`](https://github.com/lacework/python-sdk/commit/dea016200ab355883bf45a8e5c1fb9b499a4a066))

* docs: Update and lint all docstrings (140)

* docs: Update docstrings to autogenerate lovely docs

Incremental work to reformat, rewrite, and correct docstrings for
consumption by Sphinx autodoc

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: updated more docstrings

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: All docstrings updated to google format and verified

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: docstrings now pass linting without errors

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: Remove a few errant comments

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`cc50f0f`](https://github.com/lacework/python-sdk/commit/cc50f0f67b67a5af9e7cee61e4d09265da859960))

* docs: change from pdoc to sphinx (136)

* docs: change from pdoc to sphinx

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: update poetry lock file

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: update poetry files

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: removed autogen content

Added readme pointing to github pages instead.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* docs: fix minor issues

Update copywrite and tweak docks-build command

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`da7b2e9`](https://github.com/lacework/python-sdk/commit/da7b2e9ff168ce0438433c20784a6b3d05f907f0))

Feature

* feat: Add support for data export rules endpoint (132)

* feat: add missing API endpoint

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* feat: Add support for data export rules endpoint

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`19a8ba8`](https://github.com/lacework/python-sdk/commit/19a8ba80f10daae4a6ed3b0a8f8f6f010d1ae479))

Fix

* fix: SDK version in user agent string (152)

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`438ea14`](https://github.com/lacework/python-sdk/commit/438ea149733e44199748377da42494c2d90ebaac))

* fix(GROW-2675): replace old V1 APIs (147)

* fix(GROW-2675): replace old V1 APIs

* more updates

* the rest ([`172bf9c`](https://github.com/lacework/python-sdk/commit/172bf9c26fe279e056be164438e2b02cf2607621))

* fix: Search class passes kwargs to pagination GET (144)

kwargs are not passed to initial POST but are passed to subsequent
pagination GET calls, causing crashes. Remove kwargs since they
were never implemented in a working state for the search method.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`2cdc37a`](https://github.com/lacework/python-sdk/commit/2cdc37a0b1d2ce37b59176c17a7b16689ef2ecd0))

Refactor

* refactor: Make base classmethods private (142)

* refactor: Make base classmethods private

These should have been private. This change fixes this
which is required for the auto api doc generator to
keep these methods out of the API docs.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: bump major version due to breaking change

Marking these as private requires a major version change

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`1fdf77e`](https://github.com/lacework/python-sdk/commit/1fdf77e184a24f39f1b5e03551f339020125722a))

* refactor(tests): use poe the poet for testing (130)

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`3aff0db`](https://github.com/lacework/python-sdk/commit/3aff0db0f4a10bd5b0c3abc6cc1f0c5090295261))

Test

* test: fix resourceGroup test for RGv2 (150)

* test: fix resourceGroup test for RGv2

Resource groups V2 changes the return schema for some objects.
This adds logic to work around that for now as V2 appears
to be a work in progress.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: remove unused import

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`5a23119`](https://github.com/lacework/python-sdk/commit/5a23119bceb1221f4bac8d4b8b7a34dc4e62b4e1))

* test: testing alert close requires open alerts (151)

* test: fix testAlerts failures

get_by_guid failing due to most alert guids not supporting timeline scope

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: testing alert close requires open alerts

Add logic to make sure an open alert exists

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`d27b972`](https://github.com/lacework/python-sdk/commit/d27b972527e8a000683b44c9e3bc1865c1fa174f))

* test: fix testAlerts failures (149)

get_by_guid failing due to most alert guids not supporting timeline scope

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`45ac119`](https://github.com/lacework/python-sdk/commit/45ac1199476ca57b2625d7aaced73d8b6269d3d9))

* test: review, fix, and rename &34;flakey&34; tests (148)

* test: Fix tests marked &34;flakey&34; and remove from flakey group

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: rename &34;flakey&34; test group to &34;quarantine&34; test group

&34;Flakey&34; is not the correct spelling of the word and it conflicts with
the pytest &34;flaky&34; tag which is a different thing. The intent here is to
avoid confusion.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: fix policy exception test

Valid fieldKey values changed

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`170066a`](https://github.com/lacework/python-sdk/commit/170066abd2552f03b970e41dbece95de4a5f9b06))

* test: fix race condition with delete tests (139)

* test: disable slack alerting until testing fixed

Tests are randomly failing across all of the modules. Disabled alerting for now.

Also sorted some tests by refactoring the order in which they run.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: update poetry lock file

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`f7a38e0`](https://github.com/lacework/python-sdk/commit/f7a38e073422ac0bb1761469ba7af52c6e342191))

* test: add docstring linting and move to separate action (138)

* test: add linting for docstrings

using ruff

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: update lint test to run on push to all branches

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: create separate lint action to run on all push

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* chore: fix name of new GH action

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`379d66a`](https://github.com/lacework/python-sdk/commit/379d66a25e840546dfcb2910c972a767603dc505))

* test: fix slack alerting and mark some tests as flakey (137)

* test: mark resource group test flakey

Temporarily mark the get_by_guid test as flakey due to changes in the API

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: update test action to properly link to test results

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: make alert channel get_by_guid test flaky

This test is failing randomly with a 404 error.
Marking flaky for now until the issue can be resolved.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: mark some alert channel tests as flaky pending investigation

These randomly fail with a 404 error. More investigation needed.

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: mark alert channel test flakey

Randomly produces 404 errors. Needs investigation

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`12edf70`](https://github.com/lacework/python-sdk/commit/12edf708b0cdff652e02a17bf58f2bfa21da8761))

* test: fix search test for AlertRules and UserGroups (131)

* test: fix failing integration tests

Search failing for alert_rules and resource_groups

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

* test: fix search test for AlertRules and UserGroups

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net>

---------

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`b2dcf56`](https://github.com/lacework/python-sdk/commit/b2dcf5627703b37b10c10b50fc78eeadadeaae20))

Unknown

* Update .github/workflows/python-release.yml

Co-authored-by: Salim Afiune <afiunelacework.net> ([`c484398`](https://github.com/lacework/python-sdk/commit/c484398e11304aa9c0db35d06f6d902811839402))

* ci (release): add semantic release configuration (153)

Preparing to switch over to semantic release

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`b15ebbe`](https://github.com/lacework/python-sdk/commit/b15ebbe0994a13774c088f4f9e7dd564862ddf64))

* tests: put lockfile checks in place to detect tampering (143)

Add poetry lockfile checks for git pre-commit and workflows

Signed-off-by: Timothy MacDonald <tim.macdonaldlacework.net> ([`cdf8998`](https://github.com/lacework/python-sdk/commit/cdf899822e1d86d71d435d6db74f9cca8586f84b))

2.1.0

Fix

* fix: Python3.7 EoL and relaxed dependency versions (127) ([`8d790de`](https://github.com/lacework/python-sdk/commit/8d790de2bf5aabb66a521d4a464f03977f94aebf))

2.0.0

Breaking

* chore!: remove deprecated v1 API (120) ([`9c76778`](https://github.com/lacework/python-sdk/commit/9c76778937739a2aba9c1e155680d0d9383e46af))

Build

* build: using Poetry instead of Pip (116) ([`8842bb6`](https://github.com/lacework/python-sdk/commit/8842bb6e414c9cc79e53bb1b4b1d65afb44b8408))

Chore

* chore: bump pyproject version (123) ([`b59f4af`](https://github.com/lacework/python-sdk/commit/b59f4af6634cf178a7a1d423af7c387efd5fa69c))

* chore: publish workflow Poetry (122) ([`e303cb1`](https://github.com/lacework/python-sdk/commit/e303cb14678fc41ead577c0465c880b94106dc8a))

* chore: docs workflow with Poetry (121) ([`d45fbcf`](https://github.com/lacework/python-sdk/commit/d45fbcf6653c4c1ac6010a89dad88481acb3cbde))

1.10.0

Feature

* feat: add support for TeamUsers and UserGroups APIs (114)

Enable managing users with the new, experimental, TeamUsers and
UserGroups API ([`5433584`](https://github.com/lacework/python-sdk/commit/5433584344c856888d1fba6282fb9014633e7d3a))

1.9.0

Ci

* ci: marking v1 endpoints and TeamMembers as flaky (108) ([`10344f8`](https://github.com/lacework/python-sdk/commit/10344f8ef2a2cc01a08fad09c3c296e3192b5135))

Feature

* feat: added `scan` and `status` methods to `Inventory` (111)

* fix: modified create policy wrapper to use type bool instead of int for &39;enabled&39; field

* feat: added `scan` and `status` methods to `Inventory`

* minor linting and pytest changes for inventory ([`9b0022c`](https://github.com/lacework/python-sdk/commit/9b0022ca413cbcb9f9354dc9f1cfd44dc147860d))

Unknown

* tests: updated policy exception tests for new constraints (112) ([`d75f923`](https://github.com/lacework/python-sdk/commit/d75f9230155763cf429732a1b7f1f4caa22920d3))

* minor updates to example notebook to reflect API changes. (109) ([`1282efe`](https://github.com/lacework/python-sdk/commit/1282efee5a74b07c20ced76caa33c0f27f542343))

* updated README.md (107)

fixed example JSON for searching container and host vulns.

Parameter is &34;timeFilter&34;, not &34;timeFilters&34; ([`9b15e23`](https://github.com/lacework/python-sdk/commit/9b15e2315a4ad6101d88e7acf940aa4cea71928e))

1.8.2

Documentation

* docs: example for fetching active fixable container vulns (103) ([`737be85`](https://github.com/lacework/python-sdk/commit/737be855ef7cda429b7caed08e5b3cb48d7f19f3))

Feature

* feat: added `bulk_update` method to Policies (104) ([`ab95e9e`](https://github.com/lacework/python-sdk/commit/ab95e9e14b511364bbdad73b57b1cdbffb6f88dc))

Fix

* fix: pagination updates for the alerts endpoint (106)

* Updated alerts.get to get paginated results

* Proposed changes for the list alerts function.

* Removed default limit and added paging data

---------

Co-authored-by: Timothy MacDonald <timm1973yahoo.com> ([`5da3f25`](https://github.com/lacework/python-sdk/commit/5da3f256422131728e9ca3486b2761a37c21a9ce))

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.