Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keepercommander/commands/pam_saas/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def execute(self, params: KeeperParams, **kwargs):
# Make sure the SaaS configuration record has correct custom fields.
missing_fields = []
for field in plugin.fields:
if field.required is True:
if field.required is True and field.default_value is None:
found = next((x for x in config_record.custom if x.label == field.label), None)
if not found:
missing_fields.append(field.label.strip())
Expand Down Expand Up @@ -147,7 +147,7 @@ def execute(self, params: KeeperParams, **kwargs):
return

# If there is a resource record, it not NOOP.
# If there is NO resource record, it is NOOP.\
# If there is NO resource record, it is NOOP.
# However, if this is an IAM User, don't set the NOOP
if acl.is_iam_user is False:
acl.rotation_settings.noop = resource_uid is None
Expand Down
Loading