You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
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".
The text was updated successfully, but these errors were encountered:
Great idea!
Here are the product requirements for who ever wants to grab this one:
Configure --policy-config and --schema-location values by adding it to the config file using the datree set config command or editing the config yaml file itself.
Order for reading values-
CLI flag command > Env variable > Config file
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
andDATREE_POLICY_CONFIG
. The second can be configuring this usingdatree 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".
The text was updated successfully, but these errors were encountered: