Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions config/trustcenter/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_ENABLED=
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_CLOUDFLAREAPIKEY=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_MAXSNOOZES=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_SNOOZEDURATION=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_ENABLED=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_ENABLED=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_MAXSNOOZES=""
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_SNOOZEDURATION=""
RIVERBOAT_RIVER_DEFAULTMAXRETRIES="10"
RIVERBOAT_RIVER_METRICS_ENABLEMETRICS="false"
RIVERBOAT_RIVER_METRICS_METRICSDURATIONUNIT="ms"
Expand Down
16 changes: 16 additions & 0 deletions config/trustcenter/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ river:
openlaneapihost: ""
openlaneapitoken: ""
validateinterval: 0
createdomainscanworker:
config:
cloudflareaccountid: ""
cloudflareapikey: ""
enabled: false
openlaneapihost: ""
openlaneapitoken: ""
createpirschdomainworker:
config:
enabled: false
Expand Down Expand Up @@ -90,6 +97,15 @@ river:
openlaneconfig:
openlaneapihost: ""
openlaneapitoken: ""
retrievedomainscanworker:
config:
cloudflareaccountid: ""
cloudflareapikey: ""
enabled: false
maxsnoozes: 0
openlaneapihost: ""
openlaneapitoken: ""
snoozeduration: 0
updatepirschdomainworker:
config:
enabled: false
Expand Down
12 changes: 12 additions & 0 deletions config/trustcenter/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ data:
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_CLOUDFLAREAPIKEY: {{ .Values.riverboat.river.trustcenterworkers.createpreviewdomainacmeworker.config.cloudflareapikey }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_MAXSNOOZES: {{ .Values.riverboat.river.trustcenterworkers.createpreviewdomainacmeworker.config.maxsnoozes }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_SNOOZEDURATION: {{ .Values.riverboat.river.trustcenterworkers.createpreviewdomainacmeworker.config.snoozeduration }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.openlaneapihost }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.openlaneapitoken }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_ENABLED: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.enabled }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.cloudflareaccountid }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.cloudflareapikey }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.openlaneapihost }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.openlaneapitoken }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_ENABLED: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.enabled }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.cloudflareaccountid }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.cloudflareapikey }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_MAXSNOOZES: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.maxsnoozes }}
RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_SNOOZEDURATION: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.snoozeduration }}
RIVERBOAT_RIVER_DEFAULTMAXRETRIES: {{ .Values.riverboat.river.defaultmaxretries | default 10 }}
RIVERBOAT_RIVER_METRICS_ENABLEMETRICS: {{ .Values.riverboat.river.metrics.enablemetrics | default false }}
RIVERBOAT_RIVER_METRICS_METRICSDURATIONUNIT: {{ .Values.riverboat.river.metrics.metricsdurationunit | default "ms" }}
Expand Down
86 changes: 86 additions & 0 deletions configgen/api-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
},
"createpreviewdomainacmeworker": {
"config": {}
},
"createdomainscanworker": {
"config": {}
},
"retrievedomainscanworker": {
"config": {}
}
},
"metrics": {}
Expand Down Expand Up @@ -170,6 +176,12 @@ Config is the configuration for the river server
},
"createpreviewdomainacmeworker": {
"config": {}
},
"createdomainscanworker": {
"config": {}
},
"retrievedomainscanworker": {
"config": {}
}
},
"metrics": {}
Expand Down Expand Up @@ -447,6 +459,8 @@ SlackConfig configures the Slack worker.
|[**validatepreviewdomainworker**](#rivertrustcenterworkersvalidatepreviewdomainworker)|`object`|||
|[**attestndarequestworker**](#rivertrustcenterworkersattestndarequestworker)|`object`|||
|[**createpreviewdomainacmeworker**](#rivertrustcenterworkerscreatepreviewdomainacmeworker)|`object`|||
|[**createdomainscanworker**](#rivertrustcenterworkerscreatedomainscanworker)|`object`|||
|[**retrievedomainscanworker**](#rivertrustcenterworkersretrievedomainscanworker)|`object`|||

**Additional Properties:** not allowed
**Example**
Expand Down Expand Up @@ -495,6 +509,12 @@ SlackConfig configures the Slack worker.
},
"createpreviewdomainacmeworker": {
"config": {}
},
"createdomainscanworker": {
"config": {}
},
"retrievedomainscanworker": {
"config": {}
}
}
```
Expand Down Expand Up @@ -983,6 +1003,72 @@ OpenlaneConfig contains the configuration for connecting to the Openlane API.
|**maxsnoozes**|`integer`||yes|
|**snoozeduration**|`integer`||yes|

**Additional Properties:** not allowed
<a name="rivertrustcenterworkerscreatedomainscanworker"></a>
#### river\.trustcenterworkers\.createdomainscanworker: object

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|[**config**](#rivertrustcenterworkerscreatedomainscanworkerconfig)|`object`|||

**Additional Properties:** not allowed
**Example**

```json
{
"config": {}
}
```

<a name="rivertrustcenterworkerscreatedomainscanworkerconfig"></a>
##### river\.trustcenterworkers\.createdomainscanworker\.config: object

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**openlaneapihost**|`string`|||
|**openlaneapitoken**|`string`|||
|**enabled**|`boolean`|||
|**cloudflareaccountid**|`string`|||
|**cloudflareapikey**|`string`|||

**Additional Properties:** not allowed
<a name="rivertrustcenterworkersretrievedomainscanworker"></a>
#### river\.trustcenterworkers\.retrievedomainscanworker: object

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|[**config**](#rivertrustcenterworkersretrievedomainscanworkerconfig)|`object`|||

**Additional Properties:** not allowed
**Example**

```json
{
"config": {}
}
```

<a name="rivertrustcenterworkersretrievedomainscanworkerconfig"></a>
##### river\.trustcenterworkers\.retrievedomainscanworker\.config: object

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**openlaneapihost**|`string`|||
|**openlaneapitoken**|`string`|||
|**enabled**|`boolean`|||
|**cloudflareaccountid**|`string`|||
|**cloudflareapikey**|`string`|||
|**maxsnoozes**|`integer`|||
|**snoozeduration**|`integer`|||

**Additional Properties:** not allowed
<a name="rivermetrics"></a>
### river\.metrics: object
Expand Down
74 changes: 74 additions & 0 deletions configgen/riverboat.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,37 @@
"additionalProperties": false,
"type": "object"
},
"corejobs.CreateDomainScanConfig": {
"properties": {
"openlaneapihost": {
"type": "string"
},
"openlaneapitoken": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"cloudflareaccountid": {
"type": "string"
},
"cloudflareapikey": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"corejobs.CreateDomainScanWorker": {
"properties": {
"config": {
"$ref": "#/$defs/corejobs.CreateDomainScanConfig",
"description": "the configuration for domain scan creation"
}
},
"additionalProperties": false,
"type": "object"
},
"corejobs.CreatePirschDomainWorker": {
"properties": {
"config": {
Expand Down Expand Up @@ -223,6 +254,43 @@
"additionalProperties": false,
"type": "object"
},
"corejobs.RetrieveDomainScanConfig": {
"properties": {
"openlaneapihost": {
"type": "string"
},
"openlaneapitoken": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"cloudflareaccountid": {
"type": "string"
},
"cloudflareapikey": {
"type": "string"
},
"maxsnoozes": {
"type": "integer"
},
"snoozeduration": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object"
},
"corejobs.RetrieveDomainScanWorker": {
"properties": {
"config": {
"$ref": "#/$defs/corejobs.RetrieveDomainScanConfig",
"description": "the configuration for retrieve domain scan"
}
},
"additionalProperties": false,
"type": "object"
},
"corejobs.UpdatePirschDomainWorker": {
"properties": {
"config": {
Expand Down Expand Up @@ -712,6 +780,12 @@
},
"createpreviewdomainacmeworker": {
"$ref": "#/$defs/corejobs.CreatePreviewDomainAcmeWorker"
},
"createdomainscanworker": {
"$ref": "#/$defs/corejobs.CreateDomainScanWorker"
},
"retrievedomainscanworker": {
"$ref": "#/$defs/corejobs.RetrieveDomainScanWorker"
}
},
"additionalProperties": false,
Expand Down
Loading
Loading