diff --git a/.github/workflows/sast.yaml b/.github/workflows/sast.yaml index 67b2fd8..2c68e11 100644 --- a/.github/workflows/sast.yaml +++ b/.github/workflows/sast.yaml @@ -16,7 +16,7 @@ env: # List of paths (space separated) to ignore # Supports PATTERNS # EXCLUDE_PATHS: 'foo bar/baz file.txt dir/*.yml' - EXCLUDE_PATHS: 'generator-templates regula/documentreader/webclient/gen' + EXCLUDE_PATHS: 'generator-templates regula/documentreader/webclient/gen .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 diff --git a/regula/documentreader/webclient/gen/models/healthcheck.py b/regula/documentreader/webclient/gen/models/healthcheck.py index 8bd047f..7c696ba 100644 --- a/regula/documentreader/webclient/gen/models/healthcheck.py +++ b/regula/documentreader/webclient/gen/models/healthcheck.py @@ -29,8 +29,9 @@ class Healthcheck(BaseModel): scenarios: SkipValidation[List[str]] = Field(alias="scenarios", description="List of supported scenarios.") version: SkipValidation[str] = Field(alias="version", description="Product version.") metadata: SkipValidation[Optional[Dict[str, object]]] = Field(alias="metadata", default=None) + country_filter: SkipValidation[Optional[List[str]]] = Field(alias="countryFilter", default=None, description="The list of country identifiers that are defined for processing in the license. If the array is empty, there are no restrictions for processing.") documents_database: SkipValidation[Optional[HealthcheckDocumentsDatabase]] = Field(alias="documentsDatabase", default=None) - __properties: ClassVar[List[str]] = ["app", "licenseId", "licenseType", "licenseSerial", "licenseValidUntil", "scenarios", "version", "metadata", "documentsDatabase"] + __properties: ClassVar[List[str]] = ["app", "licenseId", "licenseType", "licenseSerial", "licenseValidUntil", "scenarios", "version", "metadata", "countryFilter", "documentsDatabase"] model_config = ConfigDict( populate_by_name=True, @@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "scenarios": obj.get("scenarios"), "version": obj.get("version"), "metadata": obj.get("metadata"), + "countryFilter": obj.get("countryFilter"), "documentsDatabase": HealthcheckDocumentsDatabase.from_dict(obj["documentsDatabase"]) if obj.get("documentsDatabase") is not None else None }) return _obj