diff --git a/src/fideslang/models.py b/src/fideslang/models.py index 9e7218d..89bc7cf 100644 --- a/src/fideslang/models.py +++ b/src/fideslang/models.py @@ -1245,6 +1245,9 @@ class System(FidesModel): legitimate_interest_disclosure_url: Optional[AnyUrl] = Field( description="A URL that points to the system's publicly accessible legitimate interest disclosure." ) + cookies: Optional[List[Cookies]] = Field( + description="System-level cookies unassociated with a data use to deliver services and functionality", + ) _sort_privacy_declarations: classmethod = validator( "privacy_declarations", allow_reuse=True diff --git a/tests/fideslang/test_models.py b/tests/fideslang/test_models.py index 6016c76..05fa592 100644 --- a/tests/fideslang/test_models.py +++ b/tests/fideslang/test_models.py @@ -414,13 +414,19 @@ def test_expanded_system(self): responsibility=[DataResponsibilityTitle.CONTROLLER], dpo="privacyofficertest@vdx.tv", data_security_practices=None, - cookies=[{"name": "test_cookie"}], cookie_max_age_seconds="31536000", uses_cookies=True, cookie_refresh=True, uses_non_cookie_access=True, legitimate_interest_disclosure_url="http://www.example.com/legitimate_interest_disclosure", flexible_legal_basis_for_processing=True, + cookies=[ + { + "name": "COOKIE_ID_EXAMPLE", + "path": "/", + "domain": "example.com/cookie", + } + ], ) @mark.parametrize(