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

Configure a custom "default" schema location and policy config for air gapped environments #737

Open
@uriahrokach

Description

@uriahrokach

Is your feature request related to a problem? Please describe.

We want to use datree in our air - gapped environment, and so far it's working great, but every time we use it we have to specify --schema-location and --policy-config and then specify our own configuration.

We would like to write a configuration of our own, upload it to git, and then configure it as our default policy, so that we don't have to specify every time.

This would also benfit other teams in our company that would like to use datree, for which we can configure our own policy and then distribute our configuration.

Describe the solution you'd like

There are two good possible solutions in my opinion: The first being two environment variables for the DATREE_SCHEMA_LOCATION and DATREE_POLICY_CONFIG. The second can be configuring this using datree config command.

Describe alternatives you've considered

We have have thought of creating an alias or a bash function for the datree command that contains this, but this would be much better "out of the box".

Metadata

Metadata

Assignees

Labels

WIPWorking in progress (will be deployed soon)enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions