security-operator

command module
v0.30.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

[!WARNING] This Repository is under development and not ready for productive use. It is in an alpha stage. That means APIs and concepts may change on short notice including breaking changes or complete removal of apis.

platform-mesh - security-operator

build status

Description

Security-operator is responsible for security related configuration in Platform-mesh.

API description

  • Store - serves as CRD representation of OpenFGA store entity. Stores are created during logical clusters initialization phase or at deployment phase of Platform-mesh installation. When created, dedicated controller will create a store in OpenFGA.
  • AuthorizationModel - serves as CRD representaiton of OpenFGA Authorization model entity. AuthorizationModels are created when not default ApiBinding is created in the user's workspace. When created, dedicated controller will update Authorization model in the related store in OpenFGA.
  • Invite - serves as a mechanism for inviting people in your organization by their email
  • IdentityProviderConfiguration (IDP) - CRD for realm configuration in Keycloak and OIDC clients management. IDP is created during logical clusters initialization phase or at deployment phase of Platform-mesh installation.
  • ApiExportPolicy - CRD for granting bind permissions. When provider creates an API to share this API with other customers of Platform-mesh, he needs to get bind permissions and after this other users will be able to bind provider's API and use it

Features

  • Initialization of logical clusters - This feature consist of 2 parts:
    • organization level logical clusters - operator creates Store, IDP, Invite, WorkspaceAuthenticationConfiguration resources to initialize an organization
    • account level logical clusters - operator creates additional tuples in organization's store for accounts hieracy
  • Authorization Model generation - to execute authorization checks in OpenFGA against custom resource which are created by the use, operator generatos Authorization Model for each resource in ApiExport when the ApiExport is bound (ApiBinding is created). The model is created in the workspace where ApiExport and ApiResourceSchema resource live.
  • OIDC management - Keycloak serves as the internal Identity Provider within Platform Mesh. After IDP resource is created and reconciled successfully, WorkspaceAuthenticationConfiguration resource is created and configured to use keycloak as identity provider for kcp authentication
  • ApiExport bindability control - ApiExportPolicy controller creates all necessary tuples in OpenFGA to support authorization checks for bind kcp's verb. More information about this ApiExportPolicy ADR
  • Reconcile logical cluster - securtity-operator reconciles logical clusters after they are initialized and applies the same logic as initializer does. It keeps already initialized logical clusters up to date if something has been changed in initializing flow.

Getting started

  • For running and building the security-operator, please refer to the CONTRIBUTING.md file in this repository.
  • To deploy the security-operator to kubernetes, please refer to the helm-charts repository.

Releasing

The release is performed automatically through a GitHub Actions Workflow.

All the released versions will be available through access to GitHub (as any other Golang Module).

Requirements

The security-operator requires a installation of go. Checkout the go.mod for the required go version and dependencies.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Contributing

Please refer to the CONTRIBUTING.md file in this repository for instructions on how to contribute to platform-mesh.

Code of Conduct

Please refer to our Code of Conduct for information on the expected conduct for contributing to Platform Mesh.

Bundesministerium für Wirtschaft und Energie (BMWE)-EU funding logo

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group.
internal
fga
pkg
clientreg
Package oidc provides a client for OIDC Dynamic Client Registration (RFC 7591/7592).
Package oidc provides a client for OIDC Dynamic Client Registration (RFC 7591/7592).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL