Skip to content

Commit 89babbf

Browse files
committed
Implement audit logs, security middleware, and reports
Added audit log service, middleware, API endpoint, dashboard page, and related components with full test coverage. Introduced security hardening: CSP middleware, input sanitization utility, HTTPS-only Vercel config, and enhanced Dependabot configuration. Updated documentation and added detailed progress and completion reports for phases 14-16.
1 parent fa33887 commit 89babbf

25 files changed

Lines changed: 7762 additions & 42 deletions

.github/dependabot.yml

Lines changed: 89 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,102 @@
11
version: 2
22

33
updates:
4-
# Enable version updates for npm dependencies
4+
# npm dependency updates - DAILY (as per US12 Security requirements)
55
- package-ecosystem: "npm"
66
directory: "/"
77
schedule:
8-
interval: "weekly"
9-
day: "tuesday"
10-
open-pull-requests-limit: 10
8+
interval: "daily" # Changed from weekly to daily for security patches
9+
time: "03:00" # Run at 3 AM UTC (off-peak hours)
10+
open-pull-requests-limit: 10 # Maximum 10 PRs at a time
11+
reviewers:
12+
- "CodeStorm-Hub" # Automatically assign reviewer
1113
labels:
1214
- "dependencies"
1315
- "npm"
16+
- "automated" # Mark as automated PR
1417
commit-message:
15-
prefix: "chore"
16-
include: "scope"
17-
# To ignore specific updates, uncomment and configure:
18-
# ignore:
19-
# - dependency-name: "*"
20-
# update-types:
21-
# - "version-update:semver-patch"
22-
# - "version-update:semver-minor"
18+
prefix: "chore(deps)" # Conventional commit format
19+
include: "scope" # Include package name in commit
20+
# Group minor and patch updates together to reduce PR noise
21+
groups:
22+
# Group all Next.js related packages together
23+
nextjs:
24+
patterns:
25+
- "next"
26+
- "react"
27+
- "react-dom"
28+
- "@next/*"
29+
update-types:
30+
- "minor"
31+
- "patch"
32+
33+
# Group all Prisma related packages together
34+
prisma:
35+
patterns:
36+
- "@prisma/*"
37+
- "prisma"
38+
update-types:
39+
- "minor"
40+
- "patch"
41+
42+
# Group all testing related packages together
43+
testing:
44+
patterns:
45+
- "vitest"
46+
- "@vitest/*"
47+
- "@testing-library/*"
48+
- "playwright"
49+
- "@playwright/*"
50+
update-types:
51+
- "minor"
52+
- "patch"
53+
54+
# Group all linting and formatting tools together
55+
code-quality:
56+
patterns:
57+
- "eslint"
58+
- "eslint-*"
59+
- "@eslint/*"
60+
- "prettier"
61+
- "typescript"
62+
- "typescript-eslint"
63+
- "@typescript-eslint/*"
64+
update-types:
65+
- "minor"
66+
- "patch"
67+
68+
# Group all UI library packages together
69+
ui-libraries:
70+
patterns:
71+
- "@radix-ui/*"
72+
- "tailwindcss"
73+
- "@tailwindcss/*"
74+
- "lucide-react"
75+
- "framer-motion"
76+
update-types:
77+
- "minor"
78+
- "patch"
79+
80+
# Group all development dependencies
81+
dev-dependencies:
82+
dependency-type: "development"
83+
update-types:
84+
- "minor"
85+
- "patch"
86+
87+
# Ignore major version updates for stable packages (review manually)
88+
ignore:
89+
- dependency-name: "next"
90+
update-types: ["version-update:semver-major"]
91+
- dependency-name: "react"
92+
update-types: ["version-update:semver-major"]
93+
- dependency-name: "react-dom"
94+
update-types: ["version-update:semver-major"]
95+
- dependency-name: "typescript"
96+
update-types: ["version-update:semver-major"]
97+
98+
# Allow Dependabot to update lockfile without opening PR for transitive deps
99+
versioning-strategy: "increase"
23100

24101
# Enable version updates for GitHub Actions
25102
- package-ecosystem: "github-actions"

0 commit comments

Comments
 (0)