Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Add parameter methods #18

Closed

Conversation

Flipadelphian
Copy link

@Flipadelphian Flipadelphian commented Sep 15, 2023

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Add methods to JupiterOneClient that enable reading, creating, modifying, and deleting parameters within the JupiterOne tenant as described at https://docs.jupiterone.io/features/admin/parameters#usage-api-operations-and-queries

Parameters can be used in JupiterOne queries by replacing static values with ${param.name_of_parameter}, which JupiterOne provides an example of here.

These parameters can also be used in queries for both Dashboards (for point-in-time statuses) and Questions (for historic lookbacks) based on values that are subject to change. For example, a parameter "latest_OS_version" can be set and changed to show how many devices are up-to-date on OS patches.

References

Resolves #17

Testing

Pytest test cases have been added for each new method.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@Flipadelphian Flipadelphian marked this pull request as ready for review September 15, 2023 14:30
@bsmith-auth0
Copy link

Hi @Flipadelphian ,

We will be archiving this repo in favor of the new official JupiterOne Python SDK. If you are still interested in contributing, please open this PR on the new repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add methods for Parameter manipulation
2 participants