{
  "scimgateway": {
    "port": 8883,
    "localhostonly": false,
    "chainingBaseUrl": null,
    "scim": {
      "version": "2.0",
      "skipTypeConvert": false,
      "skipMetaLocation": false,
      "groupMemberOfUser": false,
      "usePutSoftSync": false
    },
    "log": {
      "loglevel": {
        "file": "debug",
        "console": "error"
      },
      "customMasking": null
    },
    "auth": {
      "basic": [
        {
          "username": "gwadmin",
          "password": "password",
          "readOnly": false,
          "baseEntities": []
        }
      ],
      "bearerToken": [
        {
          "token": null,
          "readOnly": false,
          "baseEntities": []
        }
      ],
      "bearerJwt": [
        {
          "secret": null,
          "publicKey": null,
          "wellKnownUri": null,
          "azureTenantId": null,
          "options": {
            "issuer": null
          },
          "readOnly": false,
          "baseEntities": []
        }
      ],
      "bearerOAuth": [
        {
          "clientId": null,
          "clientSecret": null,
          "readOnly": false,
          "baseEntities": []
        }
      ],
      "passThrough": {
        "enabled": false,
        "readOnly": false,
        "baseEntities": []
      }
    },
    "certificate": {
      "key": null,
      "cert": null,
      "ca": null,
      "pfx": {
        "bundle": null,
        "password": null
      }
    },
    "ipAllowList": [],
    "email": {
      "auth": {
        "type": "oauth",
        "options": {
          "azureTenantId": null,
          "clientId": null,
          "clientSecret": null
        }
      },
      "emailOnError": {
        "enabled": false,
        "from": null,
        "to": null
      }
    },
    "azureRelay": {
      "enabled": false,
      "connectionUrl": null,
      "apiKey": null
    },
    "stream": {
      "baseUrls": [],
      "certificate": {
        "ca": null
      },
      "subscriber": {
        "enabled": false,
        "entity": {
          "undefined": {
            "nats": {
              "tenant": null,
              "subject": null,
              "jwt": null,
              "secret": null
            },
            "deleteUserOnLastGroupRoleRemoval": false,
            "skipConvertRolesToGroups": false,
            "generateUserPassword": false,
            "modifyOnly": false,
            "replaceDomains": []
          }
        }
      },
      "publisher": {
        "enabled": false,
        "entity": {
          "undefined": {
            "nats": {
              "tenant": null,
              "subject": null,
              "jwt": null,
              "secret": null
            }
          }
        }
      }
    }
  },
  "endpoint": {
    "entity": {
      "undefined": {
        "baseUrls": ["ldaps://dc1.test.com:636", "ldaps://dc2.test.com:636"],
        "username": "CN=Administrator,CN=Users,DC=test,DC=com",
        "password": "password",
        "ldap": {
          "isOpenLdap": false,
          "userBase": "CN=Users,DC=test,DC=com",
          "groupBase": "OU=Groups,DC=test,DC=com",
          "userFilter": null,
          "groupFilter": null,
          "allowModifyDN": false,
          "namingAttribute": {
            "user": [
              {
                "attribute": "CN",
                "mapTo": "userName"
              }
            ],
            "group": [
              {
                "attribute": "CN",
                "mapTo": "displayName"
              }
            ]
          },
          "userObjectClasses": [
            "user",
            "person",
            "organizationalPerson",
            "top"
          ],
          "groupObjectClasses": ["group", "top"]
        },
        "tls": {
          "ca": null,
          "rejectUnauthorized": false
        }
      }
    },
    "map": {
      "group": {
        "dn": {
          "mapTo": "id",
          "type": "string"
        },
        "cn": {
          "mapTo": "displayName",
          "type": "string"
        },
        "member": {
          "mapTo": "members.value",
          "type": "array"
        }
      },
      "user": {
        "dn": {
          "mapTo": "id",
          "type": "string"
        },
        "sAMAccountName": {
          "mapTo": "userName",
          "type": "string"
        },
        "userAccountControl": {
          "mapTo": "active",
          "type": "integer"
        },
        "unicodePwd": {
          "mapTo": "password",
          "type": "string"
        },
        "memberOf": {
          "mapTo": "groups.value",
          "type": "array"
        },
        "givenName": {
          "mapTo": "name.givenName",
          "type": "string"
        },
        "sn": {
          "mapTo": "name.familyName",
          "type": "string"
        },
        "displayName": {
          "mapTo": "name.formatted",
          "type": "string"
        },
        "title": {
          "mapTo": "title",
          "type": "string"
        },
        "mail": {
          "mapTo": "emails.work.value",
          "type": "string"
        },
        "mobile": {
          "mapTo": "phoneNumbers.work.value",
          "type": "string"
        },
        "homePhone": {
          "mapTo": "phoneNumbers.home.value",
          "type": "string"
        },
        "postalCode": {
          "mapTo": "addresses.work.postalCode",
          "type": "string"
        },
        "streetAddress": {
          "mapTo": "addresses.work.streetAddress",
          "type": "string"
        },
        "l": {
          "mapTo": "addresses.work.locality",
          "type": "string"
        },
        "st": {
          "mapTo": "addresses.work.region",
          "type": "string"
        },
        "co": {
          "mapTo": "addresses.work.country",
          "type": "string"
        },
        "description": {
          "mapTo": "entitlements.description.value",
          "type": "string"
        },
        "lastLogonTimestamp": {
          "mapTo": "entitlements.lastLogonTimestamp.value",
          "type": "string"
        },
        "homeDirectory": {
          "mapTo": "entitlements.homeDirectory.value",
          "type": "string"
        },
        "homeDrive": {
          "mapTo": "entitlements.homeDrive.value",
          "type": "string"
        },
        "telephoneNumber": {
          "mapTo": "entitlements.telephoneNumber.value",
          "type": "string"
        },
        "physicalDeliveryOfficeName": {
          "mapTo": "entitlements.physicalDeliveryOfficeName.value",
          "type": "string"
        }
      }
    }
  }
}