mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
Builtin function to parse uuid with google/uuid library
Fixes #6173 Signed-off-by: Odin Bjørnebo <odinbjoernebo@gmail.com>
This commit is contained in:
@@ -4582,6 +4582,28 @@
|
||||
"type": "function"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "uuid.parse",
|
||||
"decl": {
|
||||
"args": [
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"dynamic": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "any"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "function"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "uuid.rfc4122",
|
||||
"decl": {
|
||||
|
||||
Reference in New Issue
Block a user