Skip to content

Commit

Permalink
chore(jans-cedarling): remove ipaddr (#10140)
Browse files Browse the repository at this point in the history
  • Loading branch information
SafinWasi authored Nov 13, 2024
1 parent b215e11 commit b2883ee
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 91 deletions.
2 changes: 1 addition & 1 deletion jans-cedarling/schema/cedarling_core.cedarschema
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Jans {
domain: String,
};
type Context = {
network: ipaddr,
network: String,
network_type: String,
user_agent: String,
operating_system: String,
Expand Down
179 changes: 89 additions & 90 deletions jans-cedarling/schema/cedarling_core.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@
}
}
},
"email_address": {
"type": "Record",
"attributes": {
"domain": {
"type": "String"
},
"id": {
"type": "String"
}
}
},
"Context": {
"type": "Record",
"attributes": {
Expand All @@ -51,8 +40,7 @@
}
},
"network": {
"type": "Extension",
"name": "ipaddr"
"type": "String"
},
"network_type": {
"type": "String"
Expand All @@ -64,47 +52,20 @@
"type": "String"
}
}
}
},
"entityTypes": {
"User": {
"memberOfTypes": [
"Role"
],
"shape": {
"type": "Record",
"attributes": {
"email": {
"type": "email_address"
},
"phone_number": {
"type": "String"
},
"role": {
"type": "Set",
"element": {
"type": "String"
}
},
"sub": {
"type": "String"
},
"username": {
"type": "String"
}
}
}
},
"TrustedIssuer": {
"shape": {
"type": "Record",
"attributes": {
"issuer_entity_id": {
"type": "Url"
}
"email_address": {
"type": "Record",
"attributes": {
"domain": {
"type": "String"
},
"id": {
"type": "String"
}
}
},
}
},
"entityTypes": {
"Workload": {
"shape": {
"type": "Record",
Expand All @@ -128,13 +89,25 @@
}
}
},
"Userinfo_token": {
"id_token": {
"shape": {
"type": "Record",
"attributes": {
"acr": {
"type": "Set",
"element": {
"type": "String"
}
},
"amr": {
"type": "String"
},
"aud": {
"type": "String"
},
"azp": {
"type": "String"
},
"birthdate": {
"type": "String"
},
Expand Down Expand Up @@ -172,6 +145,7 @@
}
}
},
"Role": {},
"Access_token": {
"shape": {
"type": "Record",
Expand Down Expand Up @@ -201,26 +175,13 @@
}
}
},
"Role": {},
"id_token": {
"Userinfo_token": {
"shape": {
"type": "Record",
"attributes": {
"acr": {
"type": "Set",
"element": {
"type": "String"
}
},
"amr": {
"type": "String"
},
"aud": {
"type": "String"
},
"azp": {
"type": "String"
},
"birthdate": {
"type": "String"
},
Expand Down Expand Up @@ -280,6 +241,34 @@
}
}
},
"User": {
"memberOfTypes": [
"Role"
],
"shape": {
"type": "Record",
"attributes": {
"email": {
"type": "email_address"
},
"phone_number": {
"type": "String"
},
"role": {
"type": "Set",
"element": {
"type": "String"
}
},
"sub": {
"type": "String"
},
"username": {
"type": "String"
}
}
}
},
"Application": {
"shape": {
"type": "Record",
Expand All @@ -295,25 +284,33 @@
}
}
}
},
"TrustedIssuer": {
"shape": {
"type": "Record",
"attributes": {
"issuer_entity_id": {
"type": "Url"
}
}
}
}
},
"actions": {
"Share": {
"HEAD": {
"appliesTo": {
"resourceTypes": [
"Application"
"HTTP_Request"
],
"principalTypes": [
"User",
"Role",
"Workload"
],
"context": {
"type": "Context"
}
}
},
"HEAD": {
"PATCH": {
"appliesTo": {
"resourceTypes": [
"HTTP_Request"
Expand All @@ -326,7 +323,7 @@
}
}
},
"Compare": {
"Read": {
"appliesTo": {
"resourceTypes": [
"Application"
Expand All @@ -341,33 +338,37 @@
}
}
},
"PATCH": {
"Search": {
"appliesTo": {
"resourceTypes": [
"HTTP_Request"
"Application"
],
"principalTypes": [
"User",
"Role",
"Workload"
],
"context": {
"type": "Context"
}
}
},
"PUT": {
"Tag": {
"appliesTo": {
"resourceTypes": [
"HTTP_Request"
"Application"
],
"principalTypes": [
"User",
"Role",
"Workload"
],
"context": {
"type": "Context"
}
}
},
"Execute": {
"Write": {
"appliesTo": {
"resourceTypes": [
"Application"
Expand All @@ -382,14 +383,12 @@
}
}
},
"Read": {
"GET": {
"appliesTo": {
"resourceTypes": [
"Application"
"HTTP_Request"
],
"principalTypes": [
"User",
"Role",
"Workload"
],
"context": {
Expand All @@ -410,7 +409,7 @@
}
}
},
"Search": {
"Monitor": {
"appliesTo": {
"resourceTypes": [
"Application"
Expand All @@ -425,7 +424,7 @@
}
}
},
"Tag": {
"Execute": {
"appliesTo": {
"resourceTypes": [
"Application"
Expand All @@ -440,35 +439,35 @@
}
}
},
"Write": {
"PUT": {
"appliesTo": {
"resourceTypes": [
"Application"
"HTTP_Request"
],
"principalTypes": [
"User",
"Role",
"Workload"
],
"context": {
"type": "Context"
}
}
},
"GET": {
"Compare": {
"appliesTo": {
"resourceTypes": [
"HTTP_Request"
"Application"
],
"principalTypes": [
"User",
"Role",
"Workload"
],
"context": {
"type": "Context"
}
}
},
"Monitor": {
"Share": {
"appliesTo": {
"resourceTypes": [
"Application"
Expand Down

0 comments on commit b2883ee

Please sign in to comment.