Skip to content

Commit

Permalink
Update view
Browse files Browse the repository at this point in the history
  • Loading branch information
sdess09 authored and jose-fully-ported committed Jan 12, 2024
1 parent 628d0d6 commit 895e3d3
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ const Compliance: React.FC<Props> = (props) => {
project_id: currentProject ? currentProject.id : 0,
}
);
} catch (err) {}
} catch (err) { }
};

const isUserProvisioning = useMemo(() => {
Expand Down Expand Up @@ -348,7 +348,7 @@ const Compliance: React.FC<Props> = (props) => {
},
"Enhanced Image Vulnerability Scanning": {
...prevSoc2Data.soc2_checks[
"Enhanced Image Vulnerability Scanning"
"Enhanced Image Vulnerability Scanning"
],
enabled: eksValues.enableEcrScanning,
status: determineStatus(eksValues.enableEcrScanning),
Expand All @@ -368,9 +368,9 @@ const Compliance: React.FC<Props> = (props) => {
// if new control is added add its individual enabled field to align with the enabled field here
setSoc2Enabled(
cloudTrailEnabled &&
eksValues.enableKmsEncryption &&
eksValues.enableEcrScanning &&
(eksValues.cloudwatchAlarm?.enable || false)
eksValues.enableKmsEncryption &&
eksValues.enableEcrScanning &&
(eksValues.cloudwatchAlarm?.enable || false)
);
}
}, [props.selectedClusterVersion]);
Expand All @@ -382,7 +382,7 @@ const Compliance: React.FC<Props> = (props) => {

setIsReadOnly(
currentCluster.status === "UPDATING" ||
currentCluster.status === "UPDATING_UNAVAILABLE"
currentCluster.status === "UPDATING_UNAVAILABLE"
);
}, []);

Expand Down

0 comments on commit 895e3d3

Please sign in to comment.