> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leen.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Connection Invite Token

> Create a one-time use connection invite token for an Organization.



## OpenAPI

````yaml post /provisioning/organizations/{organization_id}/connection-invite-tokens
openapi: 3.1.0
info:
  title: Leen Security API
  version: 0.0.1
servers:
  - url: https://api.leen.dev/v1
    description: Production API
  - url: https://api.eu-c1.leen.dev/v1
    description: Production API (EU Region)
  - url: https://api.ap-se2.leen.dev/v1
    description: Production Api (APAC Region)
security: []
paths:
  /provisioning/organizations/{organization_id}/connection-invite-tokens:
    post:
      tags:
        - provisioning
      summary: Create Connection Invite Token
      description: Create a one-time use connection invite token for an Organization.
      operationId: create_connection_invite_token
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Organization Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionInviteTokenCreateModel'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateConnectionInviteTokenRespModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - API-Key: []
components:
  schemas:
    ConnectionInviteTokenCreateModel:
      properties:
        vendor:
          anyOf:
            - $ref: '#/components/schemas/ConnectionVendorEnum'
            - type: 'null'
          description: Vendor for which the connection token is being created
        connection_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Connection Id
          description: Connection ID for the connection to be updated
        identifier:
          anyOf:
            - type: string
            - type: 'null'
          title: Identifier
          description: >-
            Identifier for the connection to be created or updated with this
            token
        options:
          anyOf:
            - oneOf:
                - $ref: >-
                    #/components/schemas/leen_common__models__connection_options__SnykConnectionOptions
                - $ref: >-
                    #/components/schemas/leen_common__models__connection_options__MSDefenderEndpointConnectionOptions
                - $ref: >-
                    #/components/schemas/leen_common__models__connection_options__MSDefenderVMSConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__upwind__models__UpwindConnectionOptions
            - $ref: '#/components/schemas/TaniumVMSOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__qualys__models__QualysConnectionOptions
            - $ref: '#/components/schemas/SentinelOneEDROptions'
            - $ref: '#/components/schemas/SentinelOneVMSOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__crowdstrike__edr__models__CrowdStrikeConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__crowdstrike__vms__models__CrowdStrikeSpotlightConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__checkmarx__models__CheckmarxConnectionOptions
            - $ref: '#/components/schemas/GitlabOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__mend__models__MendConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__rapid7__models__InsightVMConnectionOptions
            - $ref: '#/components/schemas/ProcessUnityConnectionOptions'
            - $ref: '#/components/schemas/SemgrepOptions'
            - $ref: '#/components/schemas/WizCodeOptions'
            - $ref: '#/components/schemas/WizVMSOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__aikido__models__AikidoConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__tenable__models__TenableConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__snyk__models__SnykConnectionOptions
            - $ref: '#/components/schemas/BlackKiteConnectionOptions'
            - $ref: '#/components/schemas/JiraConnectionOptions'
            - $ref: '#/components/schemas/GitHubConnectionOptions'
            - $ref: '#/components/schemas/OktaIDPOptions'
            - $ref: '#/components/schemas/AwsSecurityHubOptions'
            - $ref: '#/components/schemas/AwsInspector2Options'
            - $ref: '#/components/schemas/AwsAccessAnalyzerOptions'
            - $ref: '#/components/schemas/LaceworkCSPMOptions'
            - $ref: '#/components/schemas/ServiceNowConnectionOptions'
            - $ref: '#/components/schemas/BitSightConnectionOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__arnica__models__ArnicaConnectionOptions
            - $ref: '#/components/schemas/SecurityScorecardConnectionOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__ms_defender__edr__models__MSDefenderEndpointConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__ms_defender__idp__models__MSEntraConnectionOptions
            - $ref: >-
                #/components/schemas/leen_framework__integrations__ms_defender__vms__models__MSDefenderVMSConnectionOptions
            - $ref: '#/components/schemas/MSDefenderVMSGccHighConnectionOptions'
            - $ref: >-
                #/components/schemas/leen_framework__integrations__ms_defender__cspm__model__MSDefenderCloudConnectionOptions
            - $ref: '#/components/schemas/OrcaConnectionOptions'
            - type: 'null'
          title: Options
          description: >-
            Connection options, **ONLY** used for Oauth2 URL overrides for Snyk
            and MS Defender Endpoint and auth_type for AWS connectors and Snyk
        expiry_secs:
          anyOf:
            - type: integer
            - type: 'null'
          title: Expiry Secs
          description: Connection token expiry in seconds, default 30 minutes
          default: 1800
      type: object
      title: ConnectionInviteTokenCreateModel
    CreateConnectionInviteTokenRespModel:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
        - token
      title: ConnectionInviteToken
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ConnectionVendorEnum:
      type: string
      enum:
        - SEMGREP
        - SENTINELONE_VMS
        - SENTINELONE
        - AIKIDO
        - ORCA
        - AWS_INSPECTOR2
        - AWS_ACCESS_ANALYSER
        - AWS_SECURITYHUB
        - INSIGHTVM
        - MS_DEFENDER_VMS
        - MS_ENTRA
        - MS_DEFENDER_VMS_GCC_HIGH
        - MS_DEFENDER_CLOUD
        - MS_DEFENDER_ENDPOINT
        - JIRA
        - QUALYS
        - GITHUB
        - ARNICA
        - SNYK
        - TANIUM_VMS
        - GITLAB
        - MEND
        - SERVICENOW
        - UPWIND
        - TENABLE
        - CHECKMARX
        - CROWDSTRIKE_SPOTLIGHT
        - CROWDSTRIKE
        - BLACK_KITE
        - BIT_SIGHT
        - LACEWORK_CSPM
        - WIZ_VMS
        - WIZ_CODE
        - OKTA_IDP
      title: ConnectionVendorEnum
    leen_common__models__connection_options__SnykConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/Oauth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
      additionalProperties: true
      type: object
      title: SnykConnectionOptions
    leen_common__models__connection_options__MSDefenderEndpointConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/Oauth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
      additionalProperties: true
      type: object
      title: MSDefenderEndpointConnectionOptions
    leen_common__models__connection_options__MSDefenderVMSConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/Oauth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
      additionalProperties: true
      type: object
      title: MSDefenderVMSConnectionOptions
    leen_framework__integrations__upwind__models__UpwindConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: UpwindConnectionOptions
    TaniumVMSOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: TaniumVMSOptions
    leen_framework__integrations__qualys__models__QualysConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
        host_params:
          anyOf:
            - type: object
            - type: 'null'
          title: Host Params
          description: Custom headers to be sent with host list requests
        host_detection_params:
          anyOf:
            - type: object
            - type: 'null'
          title: Host Detection Params
          description: Custom headers to be sent with detection list requests
      type: object
      title: QualysConnectionOptions
    SentinelOneEDROptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: SentinelOneEDROptions
    SentinelOneVMSOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: SentinelOneVMSOptions
    leen_framework__integrations__crowdstrike__edr__models__CrowdStrikeConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: CrowdStrikeConnectionOptions
    leen_framework__integrations__crowdstrike__vms__models__CrowdStrikeSpotlightConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: CrowdStrikeSpotlightConnectionOptions
    leen_framework__integrations__checkmarx__models__CheckmarxConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: CheckmarxConnectionOptions
    GitlabOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: GitlabOptions
    leen_framework__integrations__mend__models__MendConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: MendConnectionOptions
    leen_framework__integrations__rapid7__models__InsightVMConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: InsightVMConnectionOptions
    ProcessUnityConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
        connection_id:
          type: string
          title: Connection Id
      type: object
      required:
        - connection_id
      title: ProcessUnityConnectionOptions
    SemgrepOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: SemgrepOptions
    WizCodeOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: WizCodeOptions
    WizVMSOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: WizVMSOptions
    leen_framework__integrations__aikido__models__AikidoConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: AikidoConnectionOptions
    leen_framework__integrations__tenable__models__TenableConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: TenableConnectionOptions
    leen_framework__integrations__snyk__models__SnykConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: SnykConnectionOptions
    BlackKiteConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
        finding_filters:
          anyOf:
            - $ref: '#/components/schemas/BlackKiteFilters'
            - type: 'null'
      type: object
      title: BlackKiteConnectionOptions
    JiraConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
        project_keys_filter:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Project Keys Filter
        priority_mapping:
          anyOf:
            - items:
                additionalProperties:
                  type: string
                type: object
              type: array
            - type: 'null'
          title: Priority Mapping
          description: >-
            Maps JIRA priority names to standard ITSM priority levels. Ordered
            list where earlier entries take precedence when multiple JIRA
            priorities map to the same ITSM priority. If provided at connection
            creation, auto-mapping will be skipped. Valid values: CRITICAL,
            HIGH, MEDIUM, LOW, INFORMATIONAL, UNKNOWN. Example: [{'Highest':
            'CRITICAL'}, {'High': 'HIGH'}, {'Medium': 'MEDIUM'}]
        status_mapping:
          anyOf:
            - items:
                additionalProperties:
                  type: string
                type: object
              type: array
            - type: 'null'
          title: Status Mapping
          description: >-
            Maps JIRA status names to standard ITSM status values. Ordered list
            where earlier entries take precedence when multiple JIRA statuses
            map to the same ITSM status. If provided at connection creation,
            auto-mapping will be skipped. Valid values: OPEN, TODO, IN_PROGRESS,
            IN_REVIEW, BLOCKED, PENDING, RESOLVED, CLOSED, CANCELLED, DELETED,
            UNKNOWN. Example: [{'To Do': 'TODO'}, {'In Progress':
            'IN_PROGRESS'}, {'Done': 'CLOSED'}]
        initial_sync_days:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Initial Sync Days
          description: >-
            Number of days to look back on the initial sync (when no prior sync
            exists). Defaults to 365 days when not set.
        include_resolved_tickets:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Include Resolved Tickets
          description: >-
            When True, resolved tickets are included in the sync. Applies to
            tickets, attachments, and comments queries. Defaults to False when
            not set (only unresolved tickets are synced).
        assignable_user_concurrency:
          type: integer
          exclusiveMinimum: 0
          title: Assignable User Concurrency
          description: >-
            Max concurrent assignable-user API calls when fetching project
            members. DLT runs transformers in parallel (one per project), so
            this caps the burst rate against the Jira API.
          default: 3
        site_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Site Url
        site_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Site Name
        enable_webhooks:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Enable Webhooks
        jira_standard_issue_type_names:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Jira Standard Issue Type Names
          description: >-
            Names of standard (non-subtask) JIRA issue types, stored lowercase.
            Refreshed on every workflow run. Used to filter tickets via
            standardIssueTypes.
      type: object
      title: JiraConnectionOptions
    GitHubConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: GitHubConnectionOptions
    OktaIDPOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: OktaIDPOptions
    AwsSecurityHubOptions:
      properties:
        vendor:
          type: string
          title: Vendor
          default: AWS_SECURITYHUB
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: AwsSecurityHubOptions
    AwsInspector2Options:
      properties:
        vendor:
          type: string
          title: Vendor
          default: AWS_INSPECTOR2
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: AwsInspector2Options
    AwsAccessAnalyzerOptions:
      properties:
        vendor:
          type: string
          title: Vendor
          default: AWS_ACCESS_ANALYSER
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: AwsAccessAnalyzerOptions
    LaceworkCSPMOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: LaceworkCSPMOptions
    ServiceNowConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: ServiceNowConnectionOptions
    BitSightConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
        finding_filters:
          anyOf:
            - $ref: '#/components/schemas/BitSightFilter'
            - type: 'null'
      type: object
      title: BitSightConnectionOptions
    leen_framework__integrations__arnica__models__ArnicaConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: ArnicaConnectionOptions
    SecurityScorecardConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: SecurityScorecardConnectionOptions
    leen_framework__integrations__ms_defender__edr__models__MSDefenderEndpointConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: MSDefenderEndpointConnectionOptions
    leen_framework__integrations__ms_defender__idp__models__MSEntraConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
        filter_option:
          anyOf:
            - $ref: '#/components/schemas/EntraIDFilterOption'
            - type: 'null'
          description: Filter option for MSEntra users
      type: object
      title: MSEntraConnectionOptions
    leen_framework__integrations__ms_defender__vms__models__MSDefenderVMSConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: MSDefenderVMSConnectionOptions
    MSDefenderVMSGccHighConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: MSDefenderVMSGccHighConnectionOptions
    leen_framework__integrations__ms_defender__cspm__model__MSDefenderCloudConnectionOptions:
      properties:
        oauth2_redirect_urls:
          anyOf:
            - $ref: '#/components/schemas/OAuth2RedirectUrls'
            - type: 'null'
          description: override Leen's default splash page after authorization
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: OAUTH2
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: MSDefenderCloudConnectionOptions
    OrcaConnectionOptions:
      properties:
        auth_type:
          allOf:
            - $ref: '#/components/schemas/ConnectionAuthTypeEnum'
          default: SECRETS
        refresh_intervals:
          additionalProperties:
            type: integer
          type: object
          title: Refresh Intervals
          description: arbitrary settings
      type: object
      title: OrcaConnectionOptions
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    Oauth2RedirectUrls:
      properties:
        success:
          type: string
          title: Success
          description: Redirect URL on successful authorization
        error:
          type: string
          title: Error
          description: Redirect URL on failed authorization
      type: object
      required:
        - success
        - error
      title: Oauth2RedirectUrls
    ConnectionAuthTypeEnum:
      type: string
      enum:
        - SECRETS
        - OAUTH2
        - DIRECT_ACCESS
        - LEEN_ROLE
        - ROLE_CHAINING
      title: ConnectionAuthTypeEnum
    OAuth2RedirectUrls:
      properties:
        success:
          type: string
          title: Success
          description: Redirect URL on successful authorization
        error:
          type: string
          title: Error
          description: Redirect URL on failed authorization
      type: object
      required:
        - success
        - error
      title: OAuth2RedirectUrls
    BlackKiteFilters:
      properties:
        severity:
          items:
            $ref: '#/components/schemas/BlackKiteSeverityLevelEnum'
          type: array
          title: Severity
      type: object
      required:
        - severity
      title: BlackKiteFilters
    BitSightFilter:
      properties:
        severity_gte:
          anyOf:
            - type: integer
            - type: 'null'
          title: Severity Gte
      type: object
      title: BitSightFilter
    EntraIDFilterOption:
      type: string
      enum:
        - active_users_only
        - active_users_with_enabled_licenses_only
      title: EntraIDFilterOption
    BlackKiteSeverityLevelEnum:
      type: string
      enum:
        - Info
        - Low
        - Medium
        - High
        - Critical
      title: BlackKiteSeverityLevelEnum
  securitySchemes:
    API-Key:
      type: apiKey
      in: header
      name: X-API-KEY

````