From bb8ffc91ca8110039dbb3f73581ce0eb9f468ff5 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 1 Jul 2026 12:30:53 +0000 Subject: [PATCH 1/2] Commit: d6940dc3 --- .../webclient/model/Healthcheck.java | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java index 999b3d03..8e491d5f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Healthcheck.java @@ -85,6 +85,12 @@ public class Healthcheck { @javax.annotation.Nullable private Map metadata; + public static final String SERIALIZED_NAME_COUNTRY_FILTER = "countryFilter"; + + @SerializedName(SERIALIZED_NAME_COUNTRY_FILTER) + @javax.annotation.Nullable + private List countryFilter; + public static final String SERIALIZED_NAME_DOCUMENTS_DATABASE = "documentsDatabase"; @SerializedName(SERIALIZED_NAME_DOCUMENTS_DATABASE) @@ -262,6 +268,34 @@ public void setMetadata(@javax.annotation.Nullable Map metadata) this.metadata = metadata; } + public Healthcheck countryFilter(@javax.annotation.Nullable List countryFilter) { + this.countryFilter = countryFilter; + return this; + } + + public Healthcheck addCountryFilterItem(String countryFilterItem) { + if (this.countryFilter == null) { + this.countryFilter = new ArrayList<>(); + } + this.countryFilter.add(countryFilterItem); + return this; + } + + /** + * The list of country identifiers that are defined for processing in the license. If the array is + * empty, there are no restrictions for processing. + * + * @return countryFilter + */ + @javax.annotation.Nullable + public List getCountryFilter() { + return countryFilter; + } + + public void setCountryFilter(@javax.annotation.Nullable List countryFilter) { + this.countryFilter = countryFilter; + } + public Healthcheck documentsDatabase( @javax.annotation.Nullable HealthcheckDocumentsDatabase documentsDatabase) { this.documentsDatabase = documentsDatabase; @@ -300,6 +334,7 @@ public boolean equals(Object o) { && Objects.equals(this.scenarios, healthcheck.scenarios) && Objects.equals(this.version, healthcheck.version) && Objects.equals(this.metadata, healthcheck.metadata) + && Objects.equals(this.countryFilter, healthcheck.countryFilter) && Objects.equals(this.documentsDatabase, healthcheck.documentsDatabase); } @@ -314,6 +349,7 @@ public int hashCode() { scenarios, version, metadata, + countryFilter, documentsDatabase); } @@ -329,6 +365,7 @@ public String toString() { sb.append(" scenarios: ").append(toIndentedString(scenarios)).append("\n"); sb.append(" version: ").append(toIndentedString(version)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" countryFilter: ").append(toIndentedString(countryFilter)).append("\n"); sb.append(" documentsDatabase: ").append(toIndentedString(documentsDatabase)).append("\n"); sb.append("}"); return sb.toString(); @@ -360,6 +397,7 @@ private String toIndentedString(Object o) { "scenarios", "version", "metadata", + "countryFilter", "documentsDatabase")); // a set of required properties/fields (JSON key names) @@ -446,6 +484,15 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti "Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("countryFilter") != null + && !jsonObj.get("countryFilter").isJsonNull() + && !jsonObj.get("countryFilter").isJsonArray()) { + System.err.println( + String.format( + "Expected the field `countryFilter` to be an array in the JSON string but got `%s`", + jsonObj.get("countryFilter").toString())); + } // validate the optional field `documentsDatabase` if (jsonObj.get("documentsDatabase") != null && !jsonObj.get("documentsDatabase").isJsonNull()) { From 6aef23ed206818f6bd76461d071177cdf8785321 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Thu, 2 Jul 2026 10:16:28 +0300 Subject: [PATCH 2/2] Add sast exclude --- .github/workflows/sast.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sast.yaml b/.github/workflows/sast.yaml index e60ac6f9..5c5755ad 100644 --- a/.github/workflows/sast.yaml +++ b/.github/workflows/sast.yaml @@ -17,7 +17,7 @@ env: # List of paths (space separated) to ignore # Supports PATTERNS # EXCLUDE_PATHS: 'foo bar/baz file.txt dir/*.yml' - EXCLUDE_PATHS: 'client/generator-templates client/src/main/generated' + EXCLUDE_PATHS: 'client/generator-templates client/src/main/generated .github' # List of rules (space separated) to ignore # EXCLUDE_RULES: 'generic.secrets.security.detected-aws-account-id.detected-aws-account-id' # See https://github.com/semgrep/semgrep-rules for rules registry