
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@greenarmor/ges-core
Advanced tools
Core types, Zod schemas, and constants for the Green Engineering Standard Framework (GESF).
This is the foundation package that all other GESF packages depend on. It provides shared TypeScript interfaces, runtime validation schemas, and compliance-related constants used across the framework.
npm install @greenarmor/ges-core
| Type | Description |
|---|---|
ProjectType | Supported project types (SaaS, AI, MCP Server, Blockchain, etc.) |
FrameworkName | Compliance framework identifiers (GDPR, OWASP, NIST, CIS) |
DataClassification | Data sensitivity levels (Public, Internal, Confidential, Restricted) |
ControlStatus | Control evaluation states (pass, fail, warning, not_applicable) |
ReportFormat | Output formats (markdown, html, pdf) |
ProjectConfig | Project configuration interface |
Requirements | Compliance requirements configuration |
Control | Individual compliance control |
ControlCheck | Control evaluation result |
ComplianceScore | Per-framework scoring result |
ScoreFile | Overall score file structure |
AuditEntry | Audit trail entry |
PolicyPack | Policy pack definition |
ReportOptions | Report generation options |
| Constant | Description |
|---|---|
GESF_VERSION | Framework version string |
PROJECT_TYPES | All supported project types with labels |
FRAMEWORKS | Supported compliance frameworks |
DEFAULT_FRAMEWORKS | Default frameworks for new projects |
PROJECT_TYPE_PACKS | Mapping of project types to policy packs |
DATA_CLASSIFICATIONS | Data classification levels |
APPROVED_ENCRYPTION | Approved encryption algorithms |
APPROVED_HASHING | Approved hashing algorithms (Argon2id, bcrypt) |
REJECTED_HASHING | Rejected hashing algorithms (MD5, SHA1) |
AUDIT_LOG_FIELDS | Required fields for audit log entries |
MUST_LOG_EVENTS | Events that must be logged |
MUST_NOT_LOG | Data that must never appear in logs |
DB_AUDIT_COLUMNS | Required database audit columns |
Runtime validation schemas for all types: ProjectConfigSchema, ControlSchema, AuditEntrySchema, ReportOptionsSchema, and more.
import { ControlSchema, APPROVED_ENCRYPTION, GESF_VERSION } from '@greenarmor/ges-core';
const control = ControlSchema.parse({
id: 'enc-001',
name: 'Encryption at Rest',
framework: 'GDPR',
status: 'pass',
});
console.log(APPROVED_ENCRYPTION); // ['AES-256-GCM', 'ChaCha20-Poly1305', ...]
MIT
FAQs
GESF Core - Types, schemas, and constants
The npm package @greenarmor/ges-core receives a total of 4,034 weekly downloads. As such, @greenarmor/ges-core popularity was classified as popular.
We found that @greenarmor/ges-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.