Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
policies
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
policies
Commits
f21639b4
Commit
f21639b4
authored
2 years ago
by
Yordan Kinkov
Browse files
Options
Downloads
Plain Diff
Merge branch 'cache-get-policy' into 'main'
cacheGet policy changes See merge request
!16
parents
8365acfa
e17fc7a0
No related branches found
No related tags found
1 merge request
!16
cacheGet policy changes
Pipeline
#52288
passed with stage
in 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
example/cacheGet/1.0/data.json
+1
-1
1 addition, 1 deletion
example/cacheGet/1.0/data.json
example/cacheGet/1.0/policy.rego
+1
-1
1 addition, 1 deletion
example/cacheGet/1.0/policy.rego
with
2 additions
and
2 deletions
example/cacheGet/1.0/data.json
+
1
−
1
View file @
f21639b4
{
"namespace"
:
"namespace"
,
"namespace"
:
"
my
namespace"
,
"scope"
:
"scope"
}
This diff is collapsed.
Click to expand it.
example/cacheGet/1.0/policy.rego
+
1
−
1
View file @
f21639b4
...
...
@@ -2,4 +2,4 @@ package example.cacheGet
default
allow
=
false
result
:=
cache
.
get
(
"my
key
"
,
"my
namespace
"
,
"my
scope
"
)
result
:=
cache
.
get
(
input
.
key
,
data
.
namespace
,
data
.
scope
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment