Skip to content

Commit

Permalink
Add endpoints.
Browse files Browse the repository at this point in the history
Explain link.
  • Loading branch information
tvandort committed Jan 10, 2025
1 parent 4d7ba42 commit d4f470d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/fides/api/api/v1/endpoints/consent_request_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
CONSENT_REQUEST_VERIFY,
V1_URL_PREFIX,
)
from fides.common.api.v1.tag_registry import PUBLIC_INTERNET
from fides.config import CONFIG
from fides.config.config_proxy import ConfigProxy

Expand Down Expand Up @@ -178,6 +179,7 @@ def report_consent_requests(
CONSENT_REQUEST,
status_code=HTTP_200_OK,
response_model=ConsentRequestResponse,
tags=[PUBLIC_INTERNET],
)
def create_consent_request(
*,
Expand Down Expand Up @@ -309,6 +311,7 @@ def consent_request_verify(
"only supported with disable_consent_identity_verification set to true"
},
},
tags=[PUBLIC_INTERNET],
)
def get_consent_preferences_no_id(
*,
Expand Down Expand Up @@ -451,6 +454,7 @@ def queue_privacy_request_to_propagate_consent_old_workflow(
CONSENT_REQUEST_PREFERENCES_WITH_ID,
status_code=HTTP_200_OK,
response_model=ConsentPreferences,
tags=[PUBLIC_INTERNET],
)
def set_consent_preferences(
*,
Expand Down
2 changes: 1 addition & 1 deletion src/fides/common/api/v1/tag_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": PUBLIC_INTERNET,
"description": "The following endpoints should be allow-listed from the public Internet to the Fides webserver.",
"externalDocs": {
"description": "Security Best Practices",
"description": "Security Best Practices Documentation",
"url": "https://ethyca.com/docs/dev-docs/configuration/security-practices#public-internet-----fides-webserver",
},
}
Expand Down

0 comments on commit d4f470d

Please sign in to comment.