Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 22 additions & 1 deletion appconfig/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,28 @@ backends:
url: "https://gitlab.test.com"
token: file|/path/to/gitlab_token
parent_group_id: 111111
- name: atlan
type: "atlan"
enabled: true
depends_on:
name: "rover"
type: "rover"
connection:
url: "https://yourcompany.atlan.com"
api_token: file|path/to/atlan_api_token
# Alias given during setting up identity_provider in the application
identity_provider_alias: "saml|azure"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is "saml|azure" a place holder? What is thwe actual value this is should have.

# Username to transfer asset ownership to when deleting a user (required for user deletion)
asset_transfer_username: "service-account-username"
# Set to true if users are auto-created via SSO login (skip manual user creation)
sso_sync: true
# Default persona to assign all groups
default_persona: "prod"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should have default as prod, it should be literally a default one which has no permission, only add users, and not prod, because we are always giving prod persona even if not needed.

# OAuth credentials for user deletion (required - API tokens don't work for deletion)
oauth_client_id: file|path/to/atlan_oauth_client_id
oauth_client_secret: file|path/to/atlan_oauth_client_secret
# Number of records to fetch per API request for pagination (default: 100)
pagination_limit: 100

apiServer:
address: "0.0.0.0:8080"
Expand All @@ -119,4 +141,3 @@ offboardUserExclusionListConfigPath: "default_offboard_user_exclusion_list"
# Controller configuration
controllerConfig:
maxConcurrentReconciles: 1

8 changes: 7 additions & 1 deletion config/samples/v1alpha1_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ spec:
- dataverse/datavers-config/dataproduct-config
- dataverse/astro/astro-toolkit
- dataverse/platform-tooling/fivetran_terraform
- backend: atlan
name: atlan
property: persona
value:
- NonProd
backends:
- name: fivetran
type: fivetran

- name: atlan
type: atlan
70 changes: 35 additions & 35 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,35 @@ module github.com/redhat-data-and-ai/usernaut
go 1.24.2

require (
github.com/alicebob/miniredis/v2 v2.37.0
github.com/alicebob/miniredis/v2 v2.36.1
github.com/atlanhq/atlan-go v0.2.0
github.com/fivetran/go-fivetran v1.1.0
github.com/gin-gonic/gin v1.11.0
github.com/go-ldap/ldap/v3 v3.4.13
github.com/goccy/go-yaml v1.19.2
github.com/gojek/heimdall/v7 v7.2.0
github.com/go-ldap/ldap/v3 v3.4.12
github.com/goccy/go-yaml v1.18.0
github.com/gojek/heimdall/v7 v7.0.3
github.com/golang/mock v1.6.0
github.com/google/uuid v1.6.0
github.com/onsi/ginkgo/v2 v2.28.2
github.com/onsi/gomega v1.40.0
github.com/onsi/ginkgo/v2 v2.28.1
github.com/onsi/gomega v1.39.1
github.com/opentracing-contrib/go-stdlib v1.1.1
github.com/opentracing/opentracing-go v1.2.0
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/redis/go-redis/extra/redisotel/v9 v9.18.0
github.com/redis/go-redis/v9 v9.18.0
github.com/redis/go-redis/extra/redisotel/v9 v9.17.2
github.com/redis/go-redis/v9 v9.17.3
github.com/sirupsen/logrus v1.9.4
github.com/spf13/viper v1.21.0
github.com/stretchr/testify v1.11.1
gitlab.com/gitlab-org/api/client-go v0.145.0
golang.org/x/sync v0.19.0
k8s.io/apimachinery v0.34.8
k8s.io/client-go v0.34.8
k8s.io/apimachinery v0.34.4
k8s.io/client-go v0.34.4
sigs.k8s.io/controller-runtime v0.22.4
)

require (
cel.dev/expr v0.25.1 // indirect
github.com/Azure/go-ntlmssp v0.1.1 // indirect
cel.dev/expr v0.24.0 // indirect
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
github.com/DataDog/datadog-go v3.7.1+incompatible // indirect
github.com/Masterminds/semver/v3 v3.4.0 // indirect
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 // indirect
Expand Down Expand Up @@ -66,24 +67,26 @@ require (
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/gojek/valkyrie v0.0.0-20180215180059-6aee720afcdf // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/cel-go v0.26.1 // indirect
github.com/google/gnostic-models v0.7.0 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83 // indirect
github.com/gopherjs/gopherjs v1.20.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/matoous/go-nanoid v1.5.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
Expand All @@ -97,9 +100,10 @@ require (
github.com/quic-go/qpack v0.6.0 // indirect
github.com/quic-go/quic-go v0.57.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/redis/go-redis/extra/rediscmd/v9 v9.18.0 // indirect
github.com/redis/go-redis/extra/rediscmd/v9 v9.17.2 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/sagikazarmark/locafero v0.11.0 // indirect
github.com/smartystreets/assertions v0.0.0-00010101000000-000000000000 // indirect
github.com/schollz/progressbar/v3 v3.14.4 // indirect
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect
Expand All @@ -114,38 +118,37 @@ require (
github.com/yuin/gopher-lua v1.1.1 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
go.opentelemetry.io/otel v1.41.0 // indirect
go.opentelemetry.io/otel v1.40.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0 // indirect
go.opentelemetry.io/otel/metric v1.41.0 // indirect
go.opentelemetry.io/otel/metric v1.40.0 // indirect
go.opentelemetry.io/otel/sdk v1.40.0 // indirect
go.opentelemetry.io/otel/trace v1.41.0 // indirect
go.opentelemetry.io/otel/trace v1.40.0 // indirect
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/arch v0.20.0 // indirect
golang.org/x/crypto v0.48.0 // indirect
golang.org/x/crypto v0.47.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/mod v0.32.0 // indirect
golang.org/x/net v0.50.0 // indirect
golang.org/x/oauth2 v0.34.0 // indirect
golang.org/x/sys v0.41.0 // indirect
golang.org/x/term v0.40.0 // indirect
golang.org/x/text v0.34.0 // indirect
golang.org/x/net v0.49.0 // indirect
golang.org/x/oauth2 v0.30.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/term v0.39.0 // indirect
golang.org/x/text v0.33.0 // indirect
golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.41.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
google.golang.org/grpc v1.79.3 // indirect
google.golang.org/protobuf v1.36.10 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb // indirect
google.golang.org/grpc v1.72.1 // indirect
google.golang.org/protobuf v1.36.9 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.34.8 // indirect
k8s.io/api v0.34.4 // indirect
k8s.io/apiextensions-apiserver v0.34.1 // indirect
k8s.io/apiserver v0.34.1 // indirect
k8s.io/component-base v0.34.1 // indirect
Expand All @@ -159,7 +162,4 @@ require (
sigs.k8s.io/yaml v1.6.0 // indirect
)

replace (
github.com/google/cel-go => github.com/google/cel-go v0.22.0
github.com/smartystreets/assertions => github.com/smartystreets/assertions v1.13.1
)
replace github.com/google/cel-go => github.com/google/cel-go v0.22.0
Loading