network-security-groups by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill network-security-groups实施网络安全组和防火墙规则,以强制执行最小权限访问、划分网络段,并保护基础设施免受未经授权的访问。
最小工作示例:
# aws-security-groups.yaml
Resources:
# VPC Security Group
VPCSecurityGroup:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: VPC security group
VpcId: vpc-12345678
SecurityGroupIngress:
# Allow HTTP from anywhere
- IpProtocol: tcp
FromPort: 80
ToPort: 80
CidrIp: 0.0.0.0/0
Description: "HTTP from anywhere"
# Allow HTTPS from anywhere
- IpProtocol: tcp
FromPort: 443
ToPort: 443
CidrIp: 0.0.0.0/0
Description: "HTTPS from anywhere"
# Allow SSH from admin network only
- IpProtocol: tcp
// ... (see reference guides for full implementation)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
references/ 目录中的详细实现:
| 指南 | 内容 |
|---|---|
| AWS Security Groups | AWS 安全组 |
| Kubernetes Network Policies | Kubernetes 网络策略 |
| GCP Firewall Rules | GCP 防火墙规则 |
| Security Group Management Script | 安全组管理脚本 |
每周安装数
99
仓库
GitHub 星标数
116
首次出现
2026年1月21日
安全审计
安装于
opencode82
gemini-cli80
codex79
claude-code79
cursor74
github-copilot65
Implement network security groups and firewall rules to enforce least privilege access, segment networks, and protect infrastructure from unauthorized access.
Minimal working example:
# aws-security-groups.yaml
Resources:
# VPC Security Group
VPCSecurityGroup:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: VPC security group
VpcId: vpc-12345678
SecurityGroupIngress:
# Allow HTTP from anywhere
- IpProtocol: tcp
FromPort: 80
ToPort: 80
CidrIp: 0.0.0.0/0
Description: "HTTP from anywhere"
# Allow HTTPS from anywhere
- IpProtocol: tcp
FromPort: 443
ToPort: 443
CidrIp: 0.0.0.0/0
Description: "HTTPS from anywhere"
# Allow SSH from admin network only
- IpProtocol: tcp
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| AWS Security Groups | AWS Security Groups |
| Kubernetes Network Policies | Kubernetes Network Policies |
| GCP Firewall Rules | GCP Firewall Rules |
| Security Group Management Script | Security Group Management Script |
Weekly Installs
99
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode82
gemini-cli80
codex79
claude-code79
cursor74
github-copilot65
OpenAI Responses API 指南:有状态对话、内置工具与 Chat Completions 对比
346 周安装
董事会会议准备指南:CEO如何应对挑战性问题,掌握关键数据与叙事框架
377 周安装
学术深度研究技能:AI驱动的学术文献综述与多源验证工具,生成APA格式报告
356 周安装
sadd:do-in-steps 任务分解与代理协调框架 - 多步骤AI代理工作流管理
358 周安装
后端安全编码专家 | 安全开发实践、漏洞预防与防御性编程技术指南
358 周安装
Inngest中间件教程:TypeScript函数生命周期管理与可观测性实现
351 周安装