Skip to content

Singer tap for reading Atlassian user and group information from the Atlassian Provisioning API

License

Notifications You must be signed in to change notification settings

Slalom-Consulting/tap-atlassian-scim

Repository files navigation

tap-atlassian-scim

tap-atlassian-scim is a Singer tap for the Atlassian user provisioning REST API (SCIM).

Built with the Meltano Tap SDK for Singer Taps and the Atlassian user provisioning REST API Reference

Configuration

Accepted Config Options

Capabilities

  • catalog
  • state
  • discover
  • about
  • stream-maps
  • schema-flattening

Settings

Setting Required Default Description
api_key True None API key for SCIM directory authentication.
directory_id True None ID of the SCIM directory.
limit False 100 Number of results returned per page. (Max: 100)
user_agent False None User agent to present to the API.
api_url False None Override the Atlassian API base URL.
stream_config False None A list of dictionaries for specifing addtional configurations for a specified stream

A full list of supported settings and capabilities for this tap is available by running:

tap-atlassian-scim --about

Settings for Specific Streams

Settings can be added on a per stream basis and can be set using the stream_config setting. The stream_config setting takes a list of dictionaries, requiring the stream name as a value in the stream key. If the same stream name is added multilpe times, only the last will be used.

Setting Required Default Description
stream True None Name of the stream to configure
parameters False None URL query string to send to the stream endpoint

Example:

{
    "stream_config": [
        {
            "stream": "STREAM_NAME",
            "parameters": "URL_QUERY_STRING"
        }
    ]
}

Configure using environment variables

This Singer tap will automatically import any environment variables within the working directory's .env if the --config=ENV is provided, such that config values will be considered if a matching environment variable is set either in the terminal context or in the .env file.

Source Authentication and Authorization

Required auth configuration can be found here.

Executing the Tap Directly

tap-atlassian-scim --version
tap-atlassian-scim --help
tap-atlassian-scim --config CONFIG --discover > ./catalog.json

Developer Resources

Follow these instructions to contribute to this project.

Initialize your Development Environment

pipx install poetry
poetry install

Create and Run Tests

Create tests within the tap_atlassian_scim/tests subfolder and then run:

poetry run pytest

You can also test the tap_atlassian_scim CLI interface directly using poetry run:

poetry run tap-atlassian-scim --help

Testing with Meltano

Note: This tap will work in any Singer environment and does not require Meltano. Examples here are for convenience and to streamline end-to-end orchestration scenarios.

Next, install Meltano (if you haven't already) and any needed plugins:

# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd tap-atlassian-scim
meltano install

Now you can test and orchestrate using Meltano:

# Test invocation:
meltano invoke tap-atlassian-scim --version
# OR run a test `elt` pipeline:
meltano elt tap-atlassian-scim target-jsonl

SDK Dev Guide

See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.

About

Singer tap for reading Atlassian user and group information from the Atlassian Provisioning API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages