Skip to content

Commit

Permalink
Merge pull request #1680 from zyyw/gdpr_audit_logs
Browse files Browse the repository at this point in the history
feat: add GDPR compliance for audit logs if a user is deleted
  • Loading branch information
Shengwen YU authored Jan 17, 2024
2 parents bd30675 + 77a4a09 commit 88e7c55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ The following table lists the configurable parameters of the Harbor chart and th
| `core.priorityClassName` | The priority class to run the pod as | |
| `core.artifactPullAsyncFlushDuration` | The time duration for async update artifact pull_time and repository pull_count | |
| `core.gdpr.deleteUser` | Enable GDPR compliant user delete | `false` |
| `core.gdpr.auditLogsCompliant` | Enable GDPR compliant for audit logs by changing username to its CRC32 value if that user was deleted from the system | `false` |
| **Jobservice** | | |
| `jobservice.image.repository` | Repository for jobservice image | `goharbor/harbor-jobservice` |
| `jobservice.image.tag` | Tag for jobservice image | `dev` |
Expand Down
3 changes: 3 additions & 0 deletions templates/core/core-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ data:
{{- if .Values.core.gdpr.deleteUser}}
GDPR_DELETE_USER: "true"
{{- end }}
{{- if .Values.core.gdpr.auditLogsCompliant}}
GDPR_AUDIT_LOGS: "true"
{{- end }}
{{- end }}

{{- if .Values.cache.enabled }}
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ core:
artifactPullAsyncFlushDuration:
gdpr:
deleteUser: false
auditLogsCompliant: false

jobservice:
image:
Expand Down

0 comments on commit 88e7c55

Please sign in to comment.