Skip to content

Commit 413d1be

Browse files
feat: add trust center extension execution model
1 parent a7b6ba5 commit 413d1be

17 files changed

Lines changed: 4375 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Commit hash of the real repo. This will later be replaced by auto-build
2+
192eba38
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Sentry Trust Center Extension
2+
3+
A [Trust Center extension](https://docs.snowflake.com/en/user-guide/trust-center/trust-center-extensions#develop-a-trust-center-extension)
4+
based on [Snowflake Sentry](https://github.com/Snowflake-Labs/Sentry) security scanners.
5+
6+
7+
## Scanner packages
8+
9+
10+
### Secrets & Privileged Access
11+
12+
Scans for security risks related to credential management, privileged access grants, and sensitive configuration changes that could expose the account to unauthorized access.
13+
14+
| Scanner | Type | Description |
15+
|---------|------|-------------|
16+
| Stale users | VULNERABILITY | Detects inactive user accounts |
17+
| Grants to PUBLIC role | DETECTION | Detects privileges granted to all users |
18+
| Privileged object changes | DETECTION | Monitors changes to sensitive objects |
19+
| SCIM token lifecycle | VULNERABILITY | Alerts on expiring SCIM tokens |
20+
| Grants to unmanaged schemas | VULNERABILITY | Detects grants bypassing schema ownership |
21+
| Default role is ACCOUNTADMIN | VULNERABILITY | Users defaulting to full admin privileges |
22+
23+
24+
### Roles
25+
26+
Scans for security risks in role-based access control including overly permissive roles, dangerous role grants, and unused access that violates least-privilege principles.
27+
28+
| Scanner | Type | Description |
29+
|---------|------|-------------|
30+
| ACCOUNTADMIN grants | DETECTION | Detects grants of full admin access |
31+
| Bloated Roles | VULNERABILITY | Roles with excessive privileges |
32+
| Least Used Role Grants | VULNERABILITY | Identifies dormant role assignments |
33+
34+
35+
### Users
36+
37+
Scans for security risks related to user accounts including excessive access concentration, stale credentials, and accounts that may pose elevated risk if compromised.
38+
39+
| Scanner | Type | Description |
40+
|---------|------|-------------|
41+
| Most dangerous user | VULNERABILITY | Users with concentrated access |
42+
| Users by Password Age | VULNERABILITY | Detects stale passwords |
43+
44+
45+
### Configuration
46+
47+
Scans for changes to security-critical configurations that control network access, authentication policies, and account-level settings.
48+
49+
| Scanner | Type | Description |
50+
|---------|------|-------------|
51+
| Network policy changes | DETECTION | Monitors network access control changes |
52+
53+
54+
### Authentication
55+
56+
Scans for authentication-related security events including failed login attempts that may indicate credential attacks or account compromise attempts.
57+
58+
| Scanner | Type | Description |
59+
|---------|------|-------------|
60+
| Number of login failures | DETECTION | Detects potential credential attacks |
61+
62+
63+
### Sharing
64+
65+
Scans for changes to data sharing configurations including shares, listings, and reader accounts that could expose data to unintended external parties.
66+
67+
| Scanner | Type | Description |
68+
|---------|------|-------------|
69+
| Reader account creation | DETECTION | Detects new external access points |
70+
| Listing changes monitor | DETECTION | Monitors Marketplace listing changes |
71+
| SHAREs changes monitor | DETECTION | Monitors data share modifications |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
manifest_version: 2
2+
3+
artifacts:
4+
setup_script: setup_script.sql
5+
readme: README.md
6+
7+
privileges:
8+
- IMPORTED PRIVILEGES ON SNOWFLAKE DB:
9+
description: "Required access to SNOWFLAKE.ACCOUNT_USAGE views to scan for vulnerabilities"

0 commit comments

Comments
 (0)