🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@greenarmor/ges-rules-engine

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greenarmor/ges-rules-engine

GESF Rules Engine - Standards enforcement and validation rules

npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source

@greenarmor/ges-rules-engine

Engineering standards enforcement rules for the Green Engineering Standard Framework (GESF).

Defines and validates security and compliance rules for data classification, authentication, encryption, secrets management, logging, database standards, API security, and storage.

Install

npm install @greenarmor/ges-rules-engine

Exports

ExportDescription
ClassificationRuleInterface for data classification rules
CLASSIFICATION_RULESRules per classification level (Public → Restricted)
AuthRuleInterface for authentication rules
APPROVED_AUTH_METHODSApproved methods (Argon2id, MFA, Passkeys)
REJECTED_AUTH_METHODSRejected methods (MD5, SHA1, plain text)
EncryptionRuleInterface for encryption rules
APPROVED_ENCRYPTIONApproved algorithms (AES-256-GCM, ChaCha20-Poly1305, TLS 1.3)
SecretsRuleInterface for secrets management rules
SECRETS_RULESRules for vault integration, no secrets in code
LoggingRuleInterface for logging rules
LOGGING_RULESWhat to log and what to never log
DBStandardInterface for database standards
DB_STANDARDSRequired audit columns, soft delete, primary keys
APIStandardInterface for API security standards
API_STANDARDSInput validation, auth, rate limiting, audit logging
StorageRuleInterface for storage rules
STORAGE_RULESPrivate by default, encryption, signed URLs, versioning

Usage

import {
  CLASSIFICATION_RULES,
  APPROVED_ENCRYPTION,
  REJECTED_AUTH_METHODS,
  LOGGING_RULES
} from '@greenarmor/ges-rules-engine';

const restrictedRules = CLASSIFICATION_RULES['restricted'];
console.log(restrictedRules.requiresEncryption); // true

const approved = APPROVED_ENCRYPTION.map(r => r.algorithm);
  • @greenarmor/ges-core — Types and constants
  • @greenarmor/ges-compliance-engine — Control evaluation

License

MIT

FAQs

Package last updated on 18 Jun 2026

Did you know?

Socket

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.

Install

Related posts