Skip to content

Commit

Permalink
Updated field_type.py
Browse files Browse the repository at this point in the history
Removed DAG attributes from PAM fields and switched the rest to camelCase
  • Loading branch information
idimov-keeper authored Sep 16, 2024
1 parent db851e1 commit 2b5b245
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions sdk/python/helper/keeper_secrets_manager_helper/v3/field_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,13 +835,12 @@ class PamRemoteBrowserSettings(FieldType):
"desc": "Connection details",
"schema": {
"protocol": {"value_type": str},
"enabled": {"value_type": bool},
"user_records": {"value_type": list},
"allow-url-manipulation": {"value_type": bool},
"allowed-url-patterns": {"value_type": str},
"allowed-resource-url-patterns": {"value_type": str},
"http-credentials-uid": {"value_type": str},
"autofill-configuration": {"value_type": str}
"userRecords": {"value_type": list},
"allowUrlManipulation": {"value_type": bool},
"allowedUrlPatterns": {"value_type": str},
"allowedResourceUrlPatterns": {"value_type": str},
"httpCredentialsUid": {"value_type": str},
"autofillConfiguration": {"value_type": str}
}
},
}
Expand All @@ -857,13 +856,10 @@ class PamSettings(FieldType):
"value_type": dict,
"desc": "PAM Settings",
"schema": {
"configUid": {"value_type": str},
"adminCredentialUid": {"value_type": str},
"portForward": {
"value_type": list,
"desc": "Port Settings",
"schema": {
"enabled": {"value_type": bool},
"reusePort": {"value_type": bool},
"port": {"value_type": str},
}
Expand All @@ -873,12 +869,11 @@ class PamSettings(FieldType):
"desc": "Connection Settings",
"schema": {
"protocol": {"value_type": str},
"enabled": {"value_type": bool},
"user_records": {"value_type": list},
"userRecords": {"value_type": list},
"security": {"value_type": str},
"ignore-cert": {"value_type": bool},
"resize-method": {"value_type": str},
"color-scheme": {"value_type": str}
"ignoreCert": {"value_type": bool},
"resizeMethod": {"value_type": str},
"colorScheme": {"value_type": str}
}
},
}
Expand Down

0 comments on commit 2b5b245

Please sign in to comment.