Skill files6 files

references/

scripts/

templates/

SKILL.md96 lines
1
---
2
name: zero-trust-architecture
3
description: >
4
Implement Zero Trust security model with identity verification,
5
microsegmentation, least privilege access, and continuous monitoring. Use when
6
building secure cloud-native applications.
7
---
8
9
# Zero Trust Architecture
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Implement comprehensive Zero Trust security architecture based on "never trust, always verify" principle with identity-centric security, microsegmentation, and continuous verification.
22
23
## When to Use
24
25
- Cloud-native applications
26
- Microservices architecture
27
- Remote workforce security
28
- API security
29
- Multi-cloud deployments
30
- Legacy modernization
31
- Compliance requirements
32
33
## Quick Start
34
35
Minimal working example:
36
37
```javascript
38
// zero-trust-gateway.js
39
const jwt = require("jsonwebtoken");
40
const axios = require("axios");
41
42
class ZeroTrustGateway {
43
constructor() {
44
this.identityProvider = process.env.IDENTITY_PROVIDER_URL;
45
this.deviceRegistry = new Map();
46
this.sessionContext = new Map();
47
}
48
49
/**
50
* Verify identity - Who are you?
51
*/
52
async verifyIdentity(token) {
53
try {
54
// Verify JWT token
55
const decoded = jwt.verify(token, process.env.JWT_PUBLIC_KEY, {
56
algorithms: ["RS256"],
57
});
58
59
// Check token hasn't been revoked
60
const revoked = await this.checkTokenRevocation(decoded.jti);
61
if (revoked) {
62
throw new Error("Token has been revoked");
63
// ... (see reference guides for full implementation)
64
```
65
66
## Reference Guides
67
68
Detailed implementations in the `references/` directory:
69
70
| Guide | Contents |
71
|---|---|
72
| [Zero Trust Gateway](references/zero-trust-gateway.md) | Zero Trust Gateway |
73
| [Service Mesh - Microsegmentation](references/service-mesh-microsegmentation.md) | Service Mesh - Microsegmentation |
74
| [Python Zero Trust Policy Engine](references/python-zero-trust-policy-engine.md) | Python Zero Trust Policy Engine |
75
76
## Best Practices
77
78
### ✅ DO
79
80
- Verify every request
81
- Implement MFA everywhere
82
- Use microsegmentation
83
- Monitor continuously
84
- Encrypt all communications
85
- Implement least privilege
86
- Log all access
87
- Regular audits
88
89
### ❌ DON'T
90
91
- Trust network location
92
- Use implicit trust
93
- Skip device verification
94
- Allow lateral movement
95
- Use static credentials
96

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…