pamelatech
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # SCIM Definitions, Concepts, and Use Cases (v.New) # Abstract This document provides high-level concepts and scenarios that illustrate how the SCIM 2.0 protocol and schema work together, and how they can be extended, by discussing common terms, concepts and scenarios. This document will be updated over time as new extensions and changes to the specifications evolve. // TODO: add status of this memo later ## Introduction ## Terminology // can any of these terms be referenced from IETF 1392 or any other authoritative source? URIs as defined in [rfc3986] REST HTTP method sematincs as defined in section-4.3 of [rfc7231] Usage of Additional HTTP Status Codes as defined in [rfc6585] #### SCIM Protocol (SCIM API) An application-level protocol for managing resources defined by SCIM Schemas using a subset of RESTful HTTP methods such as GET, PUT, POST, PATCH and DELETE. #### SCIM Resource A unique entity that can be managed via RESTful command to a SCIM API, and defined by pre-defined schema. SCIM standardizes two types of resource (Users and Groups) by default and provides an extension mechanism to add new resource types. #### SCIM Schema Describes the allowable contents of a resource type, defined by a set of schema URIs. Properties of resource attributes include type, mutability, cardinality, and returnability. #### SCIM Service Provider (SCIM Server) A role in the SCIM protocol whereby standard endpoints are made available to clients who make SCIM protocol requests. Endpoints include /Users, /Groups, /Schema, /ServiceProviderConfig and /Me. #### SCIM Client A protocol role in which the service provider is actively called to either push or pull resource information from standardized endpoints using standardized HTTP methods. XXX SCIM clients make RESTful calls to service providers, targeting standardized endpoints and using standardized HTTP methods. XXX A role in the SCIM protocol held by the actor making calls to API endpoints made available by SCIM service providers. #### User Lifecycle Management A business process where the relationships and attributes of people are accurately maintained over time, and potentially across digital domains and resources. User Lifecycle Management processes can be automated or driven by administrators, delegated administrators or the people themselves. //TODO: check in IDpro glossary #### Group Management A business process where resources with commonalities are bundled together and referred to as a single resource. This bundle of resources itself becomes a resource with a lifecycle and a membership that must be maintained over time. #### Provisioning The process of creating an identity in a target system based on certain conditions. Examples of provisioning include JIT (just in time) provisioning and zero-day de-provisioning. //TODO: move de-provisioning to its own definition // Is bootstrapping a synonym? #### De-provisioning //TODO #### Synchronization The process of causing a set of data or files to remain identical in more than one location. #### Event An action or activity that may trigger a SCIM flow. Examples of events might include a change in an upstream HR system, a user submitting a self-service profile change, or a risk detection system discovering an account takeover. // Can we reference IETF Metconf event notifications (RFC 5277) //Is there a SET definition of event? #### Source of Authority (SOA) A designation given to an entity that is authoritative for a given attribute. For example HR could be the source of authority for a user's home address, while an email system could be the SOA for a user's email address. #### Pagination #### Attribute An attribute is a property of a resource that describes the resource in some way. Attributes are defined within a SCIM schema, where rules for the content of the attribute are defined. #### Identifier An identifier is an attribute that acts as a label or name of a resource, distinguished from others within a given context. ## Concepts #### Cardinality, Mutability and Uniqueness #### Relationships between Resources A resource can be affiliated with another resources in different ways. Examples of relationships could be a "manager" relationship where one user reports to another user in the organization's heirarchy, or a "member" relationship where a user or other resource type is part of the membership of a group. Relationships are represented by schema attributes, and can have different complexity and cardinality. // group members can be users, groups or other resources // need a better definition of what a human managerial relationship #### Data Directionality #### JIT Provisioning Just in time provisioning is a case where a new resource is created in a new domain only at the time it is needed - this is often contrasted to a synchronization process where users are created in advance of any need. JIT provisioning can save licensing costs as well as ensuring least privilege. //is there a use case where a group is ever JIT provisioned? //most commonly JIT provisioning happens during federation, which isn't a SCIM operation. should this be discussed at all? #### Self-Service Self-service authorizes the end user affiliated with a given resource to alter certain attributes. Examples include an Enterprise user resetting their own password, or a consumer user changing their profile data. #### API Security The measures that a SCIM Service Provider takes to secure its endpoints. This includes authorizing client access as discussed in RFC 7644 Section 2 as Authentication and Authorization but also includes API throttling, use of secure transports, and other evolving security measures. #### Account Linking & Reconciliation Using a shared identifier between systems to identify two different resources in two different systems that represent the same entity. For systems where there may be existing data not originating from the SCIM client, an attribute that has a value known by both systems is typically needed. // Do we even need this and are they significantly different from each other? #### Hard & Soft Object Deletion Two different concepts of state of deletion of objects. Hard deletion results in a resource being permanently, irrecoverably deleted from the service provider's directory. Soft deletion results in the resource being deleted from active visibility and consideration of things like attribute uniqueness, but in a manner where it can be restored back from deletion at a later point. ## Use Cases: Currently Ratified //Should explain both data directions ### Listing & Displaying Resources * Client gets attributes of a specific resource * Client gets a list of all groups ### Search & Query * Client gets the first name attribute of every user with a last name of "Smith" ### Automated Setup * Schema Negotiation * Auto Discovery (schema, resource types, extensions) * Client Registration/security ### Replace new member in million-member group * Client uses PATCH to add/remove/replace member to group * Client doesn't use PUT for large groups due to need to list all members in request ### Create new resource type to represent new types of identity data * Create new resources (/departments, /contacts) and a new schema to support them. //Are these more features than use cases? ### Create new Schema Extension * SCIM Service Provider creates a new schema file and URI for an existing resource type // are these more features than use cases? ### User Lifecycle Management #### Bootstrap (Provisioning) * Client pushes a user population to a new SCIM Service Provider * SCIM Server makes a user population available to a new SCIM Client to pull #### Incremental Data Collection * Client pushes or pulls only the new atttributes or new users since a given date or event #### Reconciliation of data sources * Client compares internal data source to SCIM output to find discrepancies ### Massive Dataset Maintenance #### Bulk Attribute Update #### Pagination * Splitting apart a set of results from a client query into more than one part that must be retrieved via subsequent API calls. ## Use Cases - Future WG work ### IOT manage change of ownership - // Proposed by Antoine - changing authority that manages keys - ## Business Scenarios //rationale: should be LESS geeky than Use Cases ### SaaS App writes multi-tenant integration to get data from any cloud platform * schema discovery, initial bootstrap, reconciliation ### Progressive Profiling * Mobile app GETs existing data for user, detect missing information, initiate workflow that initiates a POST ### User Self-Service * tooling for a profile self-service page calls /Me ### Bulk Address Change * Organization with 100,000 users moves buildings. Filter results by old building name and return only the identifier. Then run bulk PATCH against each returned id ### Migration * An organization is moving from a legacy system to a modern system and needs to populate the new system with users and groups. ### Provisioning of Identity for Digital Twins * A system discovers or is informed of the existance of real world items and required a unique identifier to be provisioned for that item to act as a unique digital identity for that real world item or entitiy. This case is quite commonly encountered in supply chain use cases, especially those connected to supply chain entity or product verification and deduplication and in cases involving intelligent agents that may act as simulatated analogs to real world entities. see https://datatracker.ietf.org/doc/draft-zhou-nmrg-digitaltwin-network-concepts/

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully