Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Datree
Commits
96dc5175
Unverified
Commit
96dc5175
authored
2 years ago
by
Roy Hadad
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
refactor: remove accountExists from prerun response (#736)
parent
291fe1d1
use_DI_to_get_config_home
746-offline-mode-does-not-work
762-unexpected-yaml-validation-error-did-not-find-expected-indicator
DAT-4341-create-a-new-default-policy-all-rules
DAT-4389-verbose-support-all-output-formats
DAT-4405-remove-travis-cicd-impl
DAT-4427-cli-add-save-rendered-flag
ISSUE#799_pre-commit_permission_denied_fix
add_cluster_integration_submodule
add_rego_support
adjust_error_message_for_k8s_schema_not_found
error-misspelling-metadataname
line-err
logfile
offerings
pre_commit_hook_with_datreeci
release/1.5.37
release/1.6.0
release/1.6.12
release/1.6.13
release/1.6.14
release/1.6.16
release/1.6.18
release/1.6.19
release/1.6.23
release/1.6.24
release/1.6.25
release/1.6.26
release/1.6.27
release/1.6.28
release/1.6.29
release/1.6.32
release/1.6.33
release/1.6.36
release/1.6.37
release/1.6.40
release/1.6.42
release/1.6.44
release/1.6.46
release/1.6.48
release/1.6.6
release/1.7.1
release/1.7.3
release/1.8.0
release/1.8.1
sarif
schemadir
secretrules
skip-schema-validation-flag
svg-logo
test_pre_commit_hook
1.8.2-rc
1.8.1
1.8.1-rc
1.8.0
1.8.0-rc
1.7.3
1.7.3-rc
1.7.2-rc
1.7.1
1.7.1-rc
1.7.0-rc
1.6.49-rc
1.6.48
1.6.48-rc
1.6.47-rc
1.6.46
1.6.46-rc
1.6.45-rc
1.6.44
1.6.44-rc
1.6.43-rc
1.6.42
1.6.42-rc
1.6.41-rc
1.6.40
1.6.40-rc
1.6.39-rc
1.6.38-rc
1.6.37
1.6.37-rc
1.6.36
1.6.36-rc
1.6.35-rc
1.6.34-rc
1.6.33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
v1.6.13
v1.6.13-rc
v1.6.12
v1.6.12-rc
v1.6.11-rc
v1.6.10-rc
v1.6.9-rc
v1.6.8-rc
v1.6.7-rc
v1.6.6
v1.6.6-rc
v1.6.5-rc
v1.6.4-rc
v1.6.3-rc
v1.6.2-rc
v1.6.1-rc
v1.6.0
v1.6.0-rc
v1.5.38-rc
v1.5.37
v1.5.37-rc
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
internal/fixtures/policyAsCode/prerun.json
+0
-1
internal/fixtures/policyAsCode/prerun.json
pkg/cliClient/evaluation.go
+0
-1
pkg/cliClient/evaluation.go
with
0 additions
and
2 deletions
+0
-2
internal/fixtures/policyAsCode/prerun.json
+
0
-
1
View file @
96dc5175
...
...
@@ -90,7 +90,6 @@
}
]
},
"accountExists"
:
true
,
"isPolicyAsCodeMode"
:
false
,
"registrationURL"
:
"https://app.datree.io/login?t=gfdgdsteasgfsdgfdsfsd"
,
"promptRegistrationURL"
:
"https://app.datree.io/promptLogin?t=gfdgdsteasgfsdgfdsfsd"
...
...
This diff is collapsed.
Click to expand it.
pkg/cliClient/evaluation.go
+
0
-
1
View file @
96dc5175
...
...
@@ -109,7 +109,6 @@ type EvaluationPrerunPolicies struct {
type
EvaluationPrerunDataResponse
struct
{
PoliciesJson
*
EvaluationPrerunPolicies
`json:"policiesJson"`
DefaultK8sVersion
string
`json:"defaultK8sVersion"`
AccountExists
bool
`json:"accountExists"`
RegistrationURL
string
`json:"registrationURL"`
PromptRegistrationURL
string
`json:"promptRegistrationURL"`
IsPolicyAsCodeMode
bool
`json:"isPolicyAsCodeMode"`
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help