From 9084f343d45bdd528fd0c58bcd3c145299e3ed88 Mon Sep 17 00:00:00 2001 From: Allison King Date: Tue, 1 Nov 2022 15:46:31 -0400 Subject: [PATCH] Fix start index of privacy declarations (#1649) * Fix start index of privacy declarations * [skip ci] Update changelog --- CHANGELOG.md | 1 + src/fidesctl/ctl/core/export.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e823f2e273..53ea20cda3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The types of changes are: ### Fixed * Include systems without a privacy declaration on data map [#1603](https://github.com/ethyca/fides/pull/1603) +* Fixed system dependencies appearing as "N/A" in the datamap endpoint when there are no privacy declarations [#1649](https://github.com/ethyca/fides/pull/1649) ## [1.9.5](https://github.com/ethyca/fides/compare/1.9.4...1.9.5) diff --git a/src/fidesctl/ctl/core/export.py b/src/fidesctl/ctl/core/export.py index 5d198c0452..b5a26f486a 100644 --- a/src/fidesctl/ctl/core/export.py +++ b/src/fidesctl/ctl/core/export.py @@ -232,7 +232,7 @@ def generate_system_records( data_protection_impact_assessment["link"], ] num_privacy_declaration_fields = 12 - privacy_declaration_start_index = 6 + privacy_declaration_start_index = 7 for i in range(num_privacy_declaration_fields): system_row.insert( i + privacy_declaration_start_index, EMPTY_COLUMN_PLACEHOLDER