NAAS-49 Flag notary/extraConfig block as sensitive (#6880)

This commit is contained in:
Ramzi El-Yafi 2021-02-19 17:05:23 +00:00 committed by GitHub
parent 23fab7ae0c
commit fe8baf4b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,6 @@ jobs:
steps:
- uses: morrisoncole/pr-lint-action@v1.4.1
with:
title-regex: '^((CORDA|AG|EG|ENT|INFRA)-\d+|NOTICK)(.*)'
title-regex: '^((CORDA|AG|EG|ENT|INFRA|NAAS)-\d+|NOTICK)(.*)'
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@ -205,7 +205,7 @@ internal object NotaryConfigSpec : Configuration.Specification<NotaryConfig>("No
private val serviceLegalName by string().mapValid(::toCordaX500Name).optional()
private val className by string().optional()
private val etaMessageThresholdSeconds by int().optional().withDefaultValue(NotaryServiceFlow.defaultEstimatedWaitTime.seconds.toInt())
private val extraConfig by nestedObject().map(ConfigObject::toConfig).optional()
private val extraConfig by nestedObject(sensitive = true).map(ConfigObject::toConfig).optional()
private val raft by nested(RaftConfigSpec).optional()
private val bftSMaRt by nested(BFTSmartConfigSpec).optional()
private val enableOverridableFlows by boolean().optional()