Fianu Labs Gating Check API

A set of API endpoints to check the compliance of Fianu Controls at any stage of the pipeline. A prerequisite to this is defining all Gates (control of controls) through the Fianu Console.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

POST /gates/check Check All Gates #
POST /gates/check/{gate} Check Single Gate #
POST /gates/dependencies/check Check All Gates from Artifact Dependencies #
POST /gates/dependencies/check/{gate} Check Single Gate from Artifact Dependencies #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fianu-labs:fianu-labs-gating-check-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fianu-labs-gating-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Fianu Labs offers powerful APIs that simplify and automate governance processes.


    With our flexible and customizable APIs, you can easily create, manage, and monitor governance policies, access real-time data and analytics, and automate repetitive tasks.


    Let us help you streamline your governance processes and achieve your business objectives.'
  title: Fianu Gating Check API
  contact:
    name: Fianu Labs
    url: https://fianu.io
    email: support@fianu.io
  version: 1.0.0
servers:
- url: https://app.fianu.io/api
security:
- BearerToken: []
tags:
- description: A set of API endpoints to check the compliance of Fianu Controls at any stage of the pipeline. A prerequisite to this is defining all Gates (control of controls) through the Fianu Console.
  name: gating_check
  x-displayName: Check
paths:
  /gates/check:
    post:
      description: Check every compliance Gate against a Fianu Asset (Artifact) or supported Series value (Commit)
      tags:
      - gating_check
      summary: Check All Gates
      operationId: check_gates_all
      requestBody:
        $ref: '#/components/requestBodies/complianceCheckRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gateCheckRecords'
        '400':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /gates/check/{gate}:
    post:
      description: Check a single compliance Gate against a Fianu Asset (Artifact) or supported Series value (Commit)
      tags:
      - gating_check
      summary: Check Single Gate
      operationId: check_gates_single
      requestBody:
        $ref: '#/components/requestBodies/complianceCheckRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gateCheckRecord'
        '400':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /gates/dependencies/check:
    post:
      description: Check every compliance Gate against all the Assets in the artifact package (e.g. helm)
      tags:
      - gating_check
      summary: Check All Gates from Artifact Dependencies
      operationId: check_gate_all_dependencies
      requestBody:
        $ref: '#/components/requestBodies/complianceCheckRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gateCheckRecord'
        '400':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /gates/dependencies/check/{gate}:
    post:
      description: Check a single compliance Gate against all the Assets in the artifact package (e.g. helm)
      tags:
      - gating_check
      summary: Check Single Gate from Artifact Dependencies
      operationId: check_single_gate_all_dependencies
      requestBody:
        $ref: '#/components/requestBodies/complianceCheckRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gateCheckRecord'
        '400':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
components:
  schemas:
    noteTransactionAssetRepositoryV100:
      type: object
      properties:
        commit:
          description: commit
          type: string
          x-go-name: Commit
        id:
          description: id
          type: string
          x-go-name: ID
        name:
          description: name
          type: string
          x-go-name: Name
        project:
          description: project
          type: string
          x-go-name: Project
        tag:
          description: tag
          type: string
          x-go-name: Tag
      x-go-name: Repository
      x-go-package: github.com/fianulabs/fior/v3/asset/transactions/v1.0.1
    notePolicy:
      description: Policy -> ref to policy UUID
      type: object
      properties:
        data:
          $ref: '#/components/schemas/notePolicyDataV101'
        evaluation:
          $ref: '#/components/schemas/notePolicyEvaluationV101'
        hash:
          description: hash
          type: string
          x-go-name: Hash
        refs:
          description: policies
          type: array
          items:
            type: string
          x-go-name: Policies
        type:
          $ref: '#/components/schemas/PolicyType'
      x-go-name: Policy
      x-go-package: github.com/fianulabs/fior/v3/policy/v1.0.1
    NoteType:
      type: string
      x-go-package: github.com/fianulabs/fior/v3/constants
    IntegrationV100:
      type: object
      properties:
        name:
          description: name
          type: string
          x-go-name: Name
        platform:
          $ref: '#/components/schemas/PlatformV100'
        type:
          description: type
          type: string
          x-go-name: Type
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
        version:
          description: version
          type: string
          x-go-name: Version
      x-go-name: Integration
      x-go-package: github.com/fianulabs/fior/v3/metadata/v1.0.0
    noteTransactionAssetSCMV100:
      type: object
      properties:
        instance:
          $ref: '#/components/schemas/assetRepositorySCMIntanceV100'
        platform:
          $ref: '#/components/schemas/assetRepositorySCMPlatformV100'
        repository:
          $ref: '#/components/schemas/noteTransactionAssetRepositoryV100'
      x-go-name: SCM
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.2
    gateCheckRecordChangeTypeControlReferenceEntity:
      type: object
      properties:
        name:
          description: name
          type: string
          x-go-name: Name
        path:
          description: path
          type: string
          x-go-name: Path
        type:
          description: type
          type: string
          x-go-name: Type
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
        version:
          $ref: '#/components/schemas/gateCheckRecordChangeTypeControlReferenceEntityVersion'
      x-go-name: ChangeTypeControlReferenceEntity
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/gates
    gateCheckRecordChangeTypeControlReferenceEntityVersion:
      type: object
      properties:
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: ChangeTypeControlReferenceEntityVersion
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/gates
    UriV100:
      description: URI metadata v171 schema resources items0 URI
      type: object
      properties:
        path:
          description: path
          type: string
          x-go-name: Path
        responseType:
          description: responseType
          type: string
          x-go-name: ResponseType
        tag:
          description: tag
          type: string
          x-go-name: Tag
        timestamp:
          description: timestamp
          type: string
          x-go-name: Timestamp
        utility:
          description: utility
          type: string
          x-go-name: Utility
      x-go-name: URI
      x-go-package: github.com/fianulabs/fior/v3/metadata/v1.0.1
    noteErrorV100:
      type: object
      properties:
        code:
          description: code
          type: integer
          format: int64
          x-go-name: Code
        message:
          description: message
          type: string
          x-go-name: Message
      x-go-name: Error
      x-go-package: github.com/fianulabs/fior/v3/error/v1.0.0
    PolicyEvaluationMethod:
      type: string
      x-go-package: github.com/fianulabs/fior/v3/constants
    declarationsV100:
      description: Declarations -> Note Declarations
      type: object
      additionalProperties:
        type: string
      x-go-name: Declarations
      x-go-package: github.com/fianulabs/fior/v3/declarations/v1.0.0
    noteTransactionAssetV100:
      type: object
      properties:
        key:
          description: key
          type: string
          x-go-name: Key
        name:
          description: name
          type: string
          x-go-name: Name
        parent:
          $ref: '#/components/schemas/noteTransactionAssetParentV100'
        ref:
          description: 'ref

            description: asset reference, e.g. if it was an artifact, then it could be the full container path. If it is a repository, it could be project/repository'
          type: string
          x-go-name: Ref
        scm:
          $ref: '#/components/schemas/noteTransactionAssetSCMV100'
        token:
          $ref: '#/components/schemas/noteTokenV100'
        type:
          $ref: '#/components/schemas/noteTransactionAssetTypeV100'
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
        verification:
          $ref: '#/components/schemas/noteTransactionAssetVerificationV100'
        version:
          $ref: '#/components/schemas/noteTransactionAssetVersionV100'
      x-go-name: Asset
      x-go-package: github.com/fianulabs/fior/v3/asset/transactions/v1.0.0
    gateCheckRecords:
      type: array
      items:
        $ref: '#/components/schemas/gateCheckRecord'
      x-go-name: GateCheckRecords
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/gates
    assetRepositorySCMIntanceV100:
      type: object
      properties:
        name:
          description: name
          type: string
          x-go-name: Name
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: RepositorySCMInstance
      x-go-package: github.com/fianulabs/fior/v3/asset/transactions/v1.0.0
    Result:
      type: string
      x-go-package: github.com/fianulabs/fior/v3/constants
    noteSpecV100:
      type: object
      properties:
        format:
          description: format
          type: string
          x-go-name: Format
        version:
          description: version
          type: string
          x-go-name: Version
      x-go-name: Spec
      x-go-package: github.com/fianulabs/fior/v3/spec/v1.0.1
    noteDisplay:
      type: object
      additionalProperties: {}
      x-go-name: Display
      x-go-package: github.com/fianulabs/fior/v3/display/v1.0.0
    notePolicyEvaluationV101:
      type: object
      properties:
        expression:
          $ref: '#/components/schemas/notePolicyEvaluationExpressionV101'
        logs:
          description: logs
          type: array
          items:
            type: string
          x-go-name: Logs
        method:
          $ref: '#/components/schemas/PolicyEvaluationMethod'
      x-go-name: Evaluation
      x-go-package: github.com/fianulabs/fior/v3/policy/v1.0.1
    noteTokenV100:
      type: object
      properties:
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: Token
      x-go-package: github.com/fianulabs/fior/v3/token/v1.0.0
    Resource:
      type: object
      properties:
        integration:
          $ref: '#/components/schemas/IntegrationV100'
        uri:
          $ref: '#/components/schemas/UriV100'
      x-go-package: github.com/fianulabs/fior/v3/metadata/v1.0.0
    complianceCheckRequest:
      type: object
      properties:
        artifact:
          description: artifact
          type: string
          x-go-name: Artifact
        changeType:
          description: 'changeType

            description: name or entity id of change type to execute check against'
          type: string
          x-go-name: ChangeType
        declarations:
          $ref: '#/components/schemas/declarationsV100'
        type:
          description: type
          type: string
          x-go-name: Type
      x-go-name: CheckRequest
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/checks/compliance/v1.0.0
    noteTransactionAssetVersionV100:
      type: object
      additionalProperties:
        type: string
      x-go-name: Version
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.3
    noteProvenanceV100:
      type: array
      items:
        $ref: '#/components/schemas/Resource'
      x-go-name: Provenance
      x-go-package: github.com/fianulabs/fior/v3/provenance/v1.0.0
    PlatformV100:
      description: Platform metadata v100 schema resources items0 integration platform
      type: object
      properties:
        name:
          description: name
          type: string
          x-go-name: Name
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
        version:
          description: version
          type: string
          x-go-name: Version
      x-go-name: Platform
      x-go-package: github.com/fianulabs/fior/v3/metadata/v1.0.0
    noteTransactionAssetVerificationV100:
      type: object
      properties:
        error:
          description: error
          type: string
          x-go-name: Error
        key:
          description: key
          type: string
          x-go-name: Key
        keyManagementSystem:
          description: keyManagementSystem
          type: string
          x-go-name: KeyManagementSystem
        timestamp:
          description: timestamp
          type: string
          format: date-time
          x-go-name: Timestamp
        type:
          description: type
          type: string
          x-go-name: Type
        valid:
          description: valid
          type: boolean
          x-go-name: Valid
      x-go-name: Verification
      x-go-package: github.com/fianulabs/fior/v3/asset/transactions/v1.0.0
    notePolicyDataV101:
      description: Data -> store generic policy information
      type: object
      additionalProperties: {}
      x-go-name: Data
      x-go-package: github.com/fianulabs/fior/v3/policy/v1.0.1
    noteProducerV100:
      type: object
      properties:
        entity:
          $ref: '#/components/schemas/noteProducerEntityV100'
        source:
          description: source
          type: string
          x-go-name: Source
        version:
          description: version
          type: string
          x-go-name: Version
      x-go-name: Producer
      x-go-package: github.com/fianulabs/fior/v3/producer/v1.0.0
    Status:
      type: string
      title: Status provides runtime information about the network such as the number of allocated IPs.
      properties:
        IPAM:
          $ref: '#/components/schemas/IPAMStatus'
      x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
    assetRepositorySCMPlatformV100:
      type: object
      properties:
        name:
          description: name
          type: string
          x-go-name: Name
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: RepositorySCMPlatform
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.3
    noteDetail:
      x-go-name: Detail
      x-go-package: github.com/fianulabs/fior/v3
    noteTransactionAssetParentV100:
      type: object
      properties:
        key:
          description: key
          type: string
          x-go-name: Key
        name:
          description: name
          type: string
          x-go-name: Name
        parent:
          type: object
          description: (recursive reference to noteTransactionAssetParentV100)
        type:
          $ref: '#/components/schemas/noteTransactionAssetParentTypeV100'
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: Parent
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.2
    noteProducerEntityVersionV100:
      type: object
      properties:
        semantic:
          description: semantic
          type: string
          x-go-name: Semantic
        status:
          description: status
          type: string
          x-go-name: Status
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: ProducerEntityVersion
      x-go-package: github.com/fianulabs/fior/v3/producer/v1.0.0
    noteV300:
      type: object
      properties:
        asset:
          $ref: '#/components/schemas/noteTransactionAssetV100'
        declarations:
          $ref: '#/components/schemas/declarationsV100'
        detail:
          $ref: '#/components/schemas/noteDetail'
        display:
          $ref: '#/components/schemas/noteDisplay'
        error:
          $ref: '#/components/schemas/noteErrorV100'
        origination:
          description: origination
          type: string
          x-go-name: Origination
        parent:
          $ref: '#/components/schemas/noteParentV100'
        path:
          description: path
          type: string
          x-go-name: Path
        policy:
          $ref: '#/components/schemas/notePolicy'
        producer:
          $ref: '#/components/schemas/noteProducerV100'
        provenance:
          $ref: '#/components/schemas/noteProvenanceV100'
        result:
          $ref: '#/components/schemas/Result'
        sequence:
          description: sequence
          type: string
          x-go-name: Sequence
        spec:
          $ref: '#/components/schemas/noteSpecV100'
        status:
          $ref: '#/components/schemas/Status'
        timestamp:
          description: timestamp
          type: string
          x-go-name: Timestamp
        type:
          $ref: '#/components/schemas/NoteType'
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: Note
      x-go-package: github.com/fianulabs/fior/v3/v3.0.0
    errorV010:
      type: object
      properties:
        code:
          description: code
          type: string
          x-go-name: Code
        dataTypeName:
          description: dataTypeName
          type: string
          x-go-name: DataTypeName
        detail:
          description: detail
          type: string
          x-go-name: Detail
        eventing:
          description: eventing
          type: boolean
          x-go-name: Eventing
        file:
          description: file
          type: string
          x-go-name: File
        hint:
          description: hint
          type: string
          x-go-name: Hint
        message:
          description: message
          type: string
          x-go-name: Message
        service:
          description: service
          type: string
          x-go-name: Service
        severity:
          description: severity
          type: string
          x-go-name: Severity
        source:
          description: source
          type: string
          x-go-name: Source
        type:
          description: type
          type: string
          x-go-name: Type
        uuid:
          description: uuid
          type: string
          x-go-name: Uuid
      x-go-name: Error
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/api/error/v0.0.1
    noteProducerEntityV100:
      type: object
      properties:
        name:
          description: name
          type: string
          x-go-name: Name
        path:
          description: path
          type: string
          x-go-name: Path
        type:
          description: type
          type: string
          x-go-name: Type
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
        version:
          $ref: '#/components/schemas/noteProducerEntityVersionV100'
      x-go-name: ProducerEntity
      x-go-package: github.com/fianulabs/fior/v3/producer/v1.0.0
    CategoryTypeKey:
      description: CategoryTypeKey -> representing hard and abstract assets until moved to the database
      type: string
      x-go-package: github.com/fianulabs/fior/v3/asset
    noteTransactionAssetTypeV100:
      type: object
      properties:
        category:
          description: 'category

            description: category of the asset type'
          type: string
          x-go-name: Category
        code:
          description: 'code

            description: 4 digit integer code to categorize an asset type'
          type: integer
          format: int64
          x-go-name: Code
        name:
          $ref: '#/components/schemas/CategoryTypeKey'
      x-go-name: Type
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.2
    SubnetStatuses:
      type: object
      additionalProperties:
        type: object
      x-go-package: github.com/moby/moby/api/types/network
    noteParentV100:
      type: object
      properties:
        status:
          description: status
          type: string
          x-go-name: Status
        type:
          description: type
          type: string
          x-go-name: Type
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-name: Parent
      x-go-package: github.com/fianulabs/fior/v3/parent/v1.0.0
    notePolicyEvaluationExpressionV101:
      type: object
      properties:
        language:
          description: language
          type: string
          x-go-name: Language
        ref:
          description: ref
          type: string
          x-go-name: Ref
      x-go-name: EvaluationExpression
      x-go-package: github.com/fianulabs/fior/v3/policy/v1.0.1
    Properties:
      type: object
      additionalProperties:
        type: string
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.3
    PolicyType:
      description: PolicyType represents the type of policy
      type: string
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
    IPAMStatus:
      description: IPAMStatus IPAM status
      type: object
      properties:
        Subnets:
          $ref: '#/components/schemas/SubnetStatuses'
      x-go-package: github.com/moby/moby/api/types/network
    noteTransactionAssetParentTypeV100:
      type: object
      properties:
        category:
          description: 'category

            description: category of the asset type'
          type: string
          x-go-name: Category
        code:
          description: 'code

            description: 4 digit integer code to categorize an asset type'
          type: integer
          format: int64
          x-go-name: Code
        name:
          $ref: '#/components/schemas/CategoryTypeKey'
        properties:
          $ref: '#/components/schemas/Properties'
      x-go-name: ParentType
      x-go-package: github.com/fianulabs/fior/v3/asset/v1.0.3
    gateCheckRecord:
      type: object
      properties:
        asset:
          $ref: '#/components/schemas/ChangeTypeControlReferenceAsset'
        attestation:
          $ref: '#/components/schemas/noteV300'
        entity:
          $ref: '#/components/schemas/gateCheckRecordChangeTypeControlReferenceEntity'
        transaction:
          $ref: '#/components/schemas/noteV300'
      x-go-name: GateCheckRecord
      x-go-package: github.com/fianulabs/pkg/types/fianu/gates
    ChangeTypeControlReferenceAsset:
      type: object
      properties:
        artifact:
          description: artifact
          type: string
          x-go-name: Artifact
        commit:
          description: commit
          type: string
          x-go-name: Commit
        uuid:
          description: uuid
          type: string
          x-go-name: UUID
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/gates
  requestBodies:
    complianceCheckRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/complianceCheckRequest'
      description: gate request
      required: true
  securitySchemes:
    BearerToken:
      description: JWT Bearer Token Auth
      type: apiKey
      name: Authentication
      in: header
externalDocs:
  description: Fianu Labs Documentation
  url: https://docs.fianu.io
x-tagGroups:
- name: Authentication
  tags:
  - access_tokens
- name: Console
  tags:
  - collections
  - controls
  - domains
  - policies
  - environments
  - targets
  - gates
  - indexes
- description: 'Every event that occurs throughout the software development lifecycle produces evidence. A Note represents a single piece of evidence. There are four types of Notes: Origin, Occurrence, Transaction, and Attestation. Each type varies in its traits and utility, but all Notes are digitally signed and stored in an immutable ledger where they can be queried on demand. If a query returns a Note that does not match its signature, it is considered untrusted and its evidence invalid. The following routes allow you to retrieve/display evidence Notes.'
  name: Evidence
  tags:
  - evaluation
  - ledger
  - signatures
  - evidence
  - deployments
  - notes
  - events
  - metrics
- name: Gating
  tags:
  - gating_check
  - gating_enforce
- description: Integrations represent third-party tools and platforms that generate evidence for attestations. Integrations are designed to manage the third-party’s toolchain relationship with Fianu.
  name: Integrations
  tags:
  - platforms
  - plugins
  - instances
  - platform_types
  - tools
- name: Assets
  tags:
  - assets
  - accounts
  - modules
  - abstract_assets
- name: Inventory
  tags:
  - statistics
  - sources
- description: Notification catalog, effective configuration, delivery channel integrations, and the user inbox.
  name: Notifications
  tags:
  - notifications
- description: Team management, approval workflows, and account-level administration.
  name: Administration
  tags:
  - team
  - teams
  - users
  - tickets
- name: Server
  tags:
  - settings