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
if (jsonObj.get("allowed_bastion_urls") != null && !jsonObj.get("allowed_bastion_urls").isJsonNull() && !jsonObj.get("allowed_bastion_urls").isJsonArray()) {
245
299
thrownewIllegalArgumentException(String.format("Expected the field `allowed_bastion_urls` to be an array in the JSON string but got `%s`", jsonObj.get("allowed_bastion_urls").toString()));
246
300
}
301
+
if ((jsonObj.get("allowed_ssh_url") != null && !jsonObj.get("allowed_ssh_url").isJsonNull()) && !jsonObj.get("allowed_ssh_url").isJsonPrimitive()) {
302
+
thrownewIllegalArgumentException(String.format("Expected the field `allowed_ssh_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowed_ssh_url").toString()));
303
+
}
247
304
if ((jsonObj.get("rdp_username_sub_claim") != null && !jsonObj.get("rdp_username_sub_claim").isJsonNull()) && !jsonObj.get("rdp_username_sub_claim").isJsonPrimitive()) {
248
305
thrownewIllegalArgumentException(String.format("Expected the field `rdp_username_sub_claim` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rdp_username_sub_claim").toString()));
if ((jsonObj.get("allowed-ssh-url") != null && !jsonObj.get("allowed-ssh-url").isJsonNull()) && !jsonObj.get("allowed-ssh-url").isJsonPrimitive()) {
450
+
thrownewIllegalArgumentException(String.format("Expected the field `allowed-ssh-url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowed-ssh-url").toString()));
451
+
}
395
452
if ((jsonObj.get("allowed-urls") != null && !jsonObj.get("allowed-urls").isJsonNull()) && !jsonObj.get("allowed-urls").isJsonPrimitive()) {
396
453
thrownewIllegalArgumentException(String.format("Expected the field `allowed-urls` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowed-urls").toString()));
397
454
}
455
+
if ((jsonObj.get("default-session-ttl-minutes") != null && !jsonObj.get("default-session-ttl-minutes").isJsonNull()) && !jsonObj.get("default-session-ttl-minutes").isJsonPrimitive()) {
456
+
thrownewIllegalArgumentException(String.format("Expected the field `default-session-ttl-minutes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("default-session-ttl-minutes").toString()));
457
+
}
398
458
if ((jsonObj.get("hide-session-recording") != null && !jsonObj.get("hide-session-recording").isJsonNull()) && !jsonObj.get("hide-session-recording").isJsonPrimitive()) {
399
459
thrownewIllegalArgumentException(String.format("Expected the field `hide-session-recording` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hide-session-recording").toString()));
0 commit comments