marmotdata/openapi
Discover OpenAPI v3 specifications
The OpenAPI plugin discovers API specifications from OpenAPI v3 files. It creates assets for services and their endpoints.
The plugin scans for .json and .yaml files and parses them as OpenAPI v3 specifications.
File Sources
The spec_path field accepts local paths, S3 URIs (s3://bucket/prefix) or Git URIs (git::https://...). For S3 and Git sources, files are downloaded to a temporary directory before discovery and cleaned up afterwards.
See File Sources for the full list of supported backends, authentication options and configuration examples.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick OpenAPI from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
s3_sourceGroup of settingsS3 file source configuration
credentialsGroup of settingsAWS credentials for S3 access
use_defaultYes or noUse AWS credentials from environment or default profile (recommended)
idTextAWS access key ID
secretSecretAWS secret access key
tokenSecretAWS session token
profileTextAWS profile to use from shared credentials file
role_arnTextIAM role to assume with the Marmot identity token (AssumeRoleWithWebIdentity); its trust policy names the Marmot issuer as an OIDC provider. Setting it federates: no keys are needed, and region is required. role, if also set, is assumed on top of it
roleTextAWS IAM role ARN to assume with AssumeRole from the base credentials (static keys, a profile, the default chain, or role_arn)
role_external_idTextExternal ID for cross-account role assumption
regionTextAWS region for services
endpointTextCustom endpoint URL for AWS services
git_sourceGroup of settingsGit repository file source configuration
urlTextGit repository URL
refTextBranch, tag or commit to check out
pathTextSubdirectory within the repository
tokenSecretPersonal access token for HTTPS auth
ssh_key_pathTextPath to SSH private key for SSH auth
spec_pathText RequiredPath to the directory containing the OpenAPI specifications (local path, s3://bucket/prefix or git::url)
Assets emitted
Metadata this plugin attaches to each discovered asset.
OpenAPI
OpenAPI-specific metadata fields