Class ComplianceFactory
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
com.cloudforgeci.api.core.annotation.BaseFactory
com.cloudforgeci.api.observability.ComplianceFactory
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
Factory for creating compliance and audit resources (CloudTrail, AWS Config, AWS Audit Manager).
Creates audit logging and compliance monitoring based on security profiles.
Supported Compliance Tools
- CloudTrail - Audit logging for API calls and account activity
- AWS Config - Compliance monitoring with managed rules
- AWS Audit Manager - Continuous auditing and automated evidence collection
AWS Audit Manager Setup
Before using Audit Manager, you must:- Enable AWS Audit Manager in your AWS account via the AWS Console
- Configure data source connections (CloudTrail, Config, Security Hub, etc.)
- Choose appropriate compliance framework (SOC2, HIPAA, PCI-DSS, etc.)
- Update framework IDs to match your account
Configuration
Compliance features are enabled/disabled based on security profile:- DEV - Minimal compliance (CloudTrail only)
- STAGING - Full compliance testing (Config + Audit Manager)
- PRODUCTION - Full compliance (CloudTrail + Config + Audit Manager)
cfc.put("awsConfigEnabled", true);
cfc.put("auditManagerEnabled", true);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy -
Field Summary
Fields inherited from class com.cloudforgeci.api.core.annotation.BaseFactory
cfc, config, ctx -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate()Abstract method that must be implemented by all factory subclasses.Methods inherited from class com.cloudforgeci.api.core.annotation.BaseFactory
getDeploymentContext, getSecurityProfileConfiguration, getSystemContextMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ComplianceFactory
-
-
Method Details
-
create
public void create()Description copied from class:BaseFactoryAbstract method that must be implemented by all factory subclasses. This method should contain the actual infrastructure creation logic.- Specified by:
createin classBaseFactory
-