Skip to content

Commit 8991771

Browse files
chore: update connector registry and secrets mask nightly (#16614)
1 parent 6ec4ba7 commit 8991771

File tree

7 files changed

+164
-29
lines changed

7 files changed

+164
-29
lines changed

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ resources/examples/airflow/logs/*
7777
# Ignore docs folder, since we're using it to temporarily copy files into on CI
7878
/docs
7979

80-
# Ignore downloaded connector registry
81-
**/specs_secrets_mask.yaml
82-
**/oss_registry.json
83-
**/local_oss_registry.json
84-
8580
# Files generated for uploading to GCS
8681
airbyte-config/**/resources/seed/oss_catalog.json
8782

airbyte-commons/build.gradle.kts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,12 @@ airbyte {
3333
}
3434
}
3535

36-
val downloadSpecSecretMask =
37-
tasks.register<Download>("downloadSpecSecretMask") {
38-
src("https://connectors.airbyte.com/files/registries/v0/specs_secrets_mask.yaml")
39-
dest(File(projectDir, "src/main/resources/seed/specs_secrets_mask.yaml"))
40-
overwrite(true)
41-
onlyIfModified(true)
42-
}
43-
44-
tasks.named("processResources") {
45-
dependsOn(downloadSpecSecretMask)
36+
tasks.register<Download>("downloadSpecSecretMask") {
37+
src("https://connectors.airbyte.com/files/registries/v0/specs_secrets_mask.yaml")
38+
dest(File(projectDir, "src/main/resources/seed/specs_secrets_mask.yaml"))
39+
overwrite(true)
40+
useETag(true)
41+
onlyIfModified(true)
4642
}
4743

4844
tasks.named<Test>("test") {

airbyte-commons/readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ the `build.gradle` of `airbyte-commons` should always be empty.
99

1010
For other common java code that needs to be shared across modules that requires additional dependencies, we follow this
1111
convention: `airbyte-commons-<name of lib>`. See for example `airbyte-commons-micronaut`.
12+
13+
# Updating the secrets mask
14+
15+
This module contains a secrets mask configuration file, which is baked into the JAR.
16+
This is used by logging systems to mask secrets from log messages.
17+
18+
Run ./gradlew :downloadSpecSecretMask to manually update this file.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
properties:
2+
- X-Postmark-Account-Token
3+
- X-Postmark-Server-Token
4+
- access_key
5+
- access_key_id
6+
- access_key_secret
7+
- access_token
8+
- account_access_token
9+
- account_id
10+
- account_sid
11+
- account_token
12+
- agreement_grant_token
13+
- apiId
14+
- apiKey
15+
- apiKeySecret
16+
- api_id
17+
- api_key
18+
- api_key_2
19+
- api_key_id
20+
- api_key_secret
21+
- api_password
22+
- api_secret
23+
- api_token
24+
- apikey
25+
- app_api_key
26+
- app_client_id
27+
- app_client_secret
28+
- app_id
29+
- app_secret_token
30+
- app_tenant_id
31+
- appid
32+
- application_key
33+
- application_secret
34+
- astra_db_app_token
35+
- auth_hash
36+
- auth_ssh_key
37+
- auth_token
38+
- auth_user_password
39+
- aws_access_key_id
40+
- aws_key_id
41+
- aws_key_secret
42+
- aws_secret_access_key
43+
- aws_secret_key
44+
- azure_blob_storage_account_key
45+
- basic_auth_header
46+
- bearer_token
47+
- ca_certificate
48+
- certificate
49+
- client_access_token
50+
- client_certificate
51+
- client_id
52+
- client_id_2
53+
- client_key
54+
- client_key_password
55+
- client_refresh_token
56+
- client_refresh_token_2
57+
- client_secret
58+
- client_secret_2
59+
- client_secret_value
60+
- cohere_key
61+
- company_id
62+
- consumer_key
63+
- consumer_secret
64+
- credentials_json
65+
- developer_token
66+
- domain
67+
- domain_url
68+
- email
69+
- extension_id
70+
- fastly_api_token
71+
- google_application_credentials
72+
- hmac_key_access_id
73+
- hmac_key_secret
74+
- hoorayhrpassword
75+
- key
76+
- key_id
77+
- key_store_password
78+
- lwa_app_id
79+
- lwa_client_secret
80+
- management_token
81+
- motherduck_api_key
82+
- oauth_access_token
83+
- openai_key
84+
- org_id
85+
- password
86+
- personal_access_token
87+
- pinecone_key
88+
- pipeline_access_token
89+
- privateKey
90+
- private_key
91+
- private_key_password
92+
- private_token
93+
- project_access_token
94+
- public_key
95+
- realm
96+
- realm_id
97+
- redirect_uri
98+
- refresh_token
99+
- reserved_attribute_names
100+
- restid
101+
- s3_access_key_id
102+
- s3_secret_access_key
103+
- sas_token
104+
- sasl_jaas_config
105+
- schema_registry_password
106+
- secret
107+
- secret_access_key
108+
- secret_api_key
109+
- secret_key
110+
- service_account
111+
- service_account_info
112+
- service_account_json
113+
- session_token
114+
- shared_access_signature
115+
- shared_key
116+
- site_api_key
117+
- site_id
118+
- ssh_key
119+
- ssl_ca_certificate
120+
- ssl_certificate
121+
- storage_access_key
122+
- survey_group_id
123+
- survey_id
124+
- tenant_id
125+
- token
126+
- token_key
127+
- token_secret
128+
- trustStorePassword
129+
- tunnel_user_password
130+
- uid
131+
- user_api_key
132+
- user_auth_key
133+
- user_id
134+
- user_name
135+
- user_principal_name
136+
- user_secret
137+
- user_token
138+
- username
139+
- value
140+
- x-api-key

airbyte-config/specs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Downloading Local Connector Registry
22

3-
The local connector registry is downloaded from the metadata service using the `downloadConnectorRegistry` task defined in this module.
3+
This module contains a version of the connector registry, which is baked into the JAR.
4+
The registry is shipped with Airbyte to account for air-gapped airbyte deployments.
5+
This also allows Airbyte to start with pre-populated connectors.
46

5-
This task is automatically run when Airbyte is built. The downloaded specs are shipped with Airbyte to account for air-gapped airbyte
6-
deployments. This also allows Airbyte to start with pre-populated connectors. After initialization, we expect most deployments to query the remote
7-
metadata service for the most up-to-date connector versions.
7+
Run ./gradlew :downloadConnectorRegistry to manually update this file.

airbyte-config/specs/build.gradle.kts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,10 @@ airbyte {
4040
}
4141
}
4242

43-
val downloadConnectorRegistry =
44-
tasks.register<Download>("downloadConnectorRegistry") {
45-
src("https://connectors.airbyte.com/files/registries/v0/oss_registry.json")
46-
dest(File(projectDir, "src/main/resources/seed/local_oss_registry.json"))
47-
overwrite(true)
48-
onlyIfModified(true)
49-
}
50-
51-
tasks.processResources {
52-
dependsOn(downloadConnectorRegistry)
43+
tasks.register<Download>("downloadConnectorRegistry") {
44+
src("https://connectors.airbyte.com/files/registries/v0/oss_registry.json")
45+
dest(File(projectDir, "src/main/resources/seed/local_oss_registry.json"))
46+
overwrite(true)
47+
useETag(true)
48+
onlyIfModified(true)
5349
}

airbyte-config/specs/src/main/resources/seed/local_oss_registry.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)