Record Class SecureConfigurationProfile
java.lang.Object
java.lang.Record
org.j7m.middleware.compliance.api.SecureConfigurationProfile
- Record Components:
productionMode- whether production mode is enabledinsecureGrpcAllowed- whether insecure gRPC is explicitly allowedmtlsRequired- whether mTLS is requiredmtlsConfigured- whether mTLS is configuredstrictRegistryTrust- whether strict registry trust is enabledregistryVerifierConfigured- whether a registry verifier is configuredreplayProtectionEnabled- whether replay protection is enabledtimestampValidationEnabled- whether timestamp validation is enabledsignedRegistryRecordsRequired- whether signed registry records are requiredauditSinkConfigured- whether an audit sink is configuredtamperEvidentAuditEnabled- whether tamper-evident audit is enabledsensitiveRedactionEnabled- whether redaction is enabledexternalPdpConfigured- whether an external PDP is configuredlimitsConfigured- whether payload/concurrency/queue limits are configuredresourcePolicyConfigured- whether a resource policy is configuredadminStatusProtected- whether admin/status is protectedevidenceExportEnabled- whether evidence export is enabledcredentialRotationConfigured- whether a credential rotation process is configured
public record SecureConfigurationProfile(boolean productionMode, boolean insecureGrpcAllowed, boolean mtlsRequired, boolean mtlsConfigured, boolean strictRegistryTrust, boolean registryVerifierConfigured, boolean replayProtectionEnabled, boolean timestampValidationEnabled, boolean signedRegistryRecordsRequired, boolean auditSinkConfigured, boolean tamperEvidentAuditEnabled, boolean sensitiveRedactionEnabled, boolean externalPdpConfigured, boolean limitsConfigured, boolean resourcePolicyConfigured, boolean adminStatusProtected, boolean evidenceExportEnabled, boolean credentialRotationConfigured)
extends Record
Production secure-configuration posture snapshot.
The record is immutable and thread-safe. It is intentionally descriptive: it validates deployment posture but does not configure transports by itself.
-
Constructor Summary
ConstructorsConstructorDescriptionSecureConfigurationProfile(boolean productionMode, boolean insecureGrpcAllowed, boolean mtlsRequired, boolean mtlsConfigured, boolean strictRegistryTrust, boolean registryVerifierConfigured, boolean replayProtectionEnabled, boolean timestampValidationEnabled, boolean signedRegistryRecordsRequired, boolean auditSinkConfigured, boolean tamperEvidentAuditEnabled, boolean sensitiveRedactionEnabled, boolean externalPdpConfigured, boolean limitsConfigured, boolean resourcePolicyConfigured, boolean adminStatusProtected, boolean evidenceExportEnabled, boolean credentialRotationConfigured) Creates an instance of aSecureConfigurationProfilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theadminStatusProtectedrecord component.booleanReturns the value of theauditSinkConfiguredrecord component.booleanReturns the value of thecredentialRotationConfiguredrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theevidenceExportEnabledrecord component.booleanReturns the value of theexternalPdpConfiguredrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theinsecureGrpcAllowedrecord component.booleanReturns the value of thelimitsConfiguredrecord component.booleanReturns the value of themtlsConfiguredrecord component.booleanReturns the value of themtlsRequiredrecord component.static SecureConfigurationProfileReturns a conservative production baseline profile.booleanReturns the value of theproductionModerecord component.booleanReturns the value of theregistryVerifierConfiguredrecord component.booleanReturns the value of thereplayProtectionEnabledrecord component.booleanReturns the value of theresourcePolicyConfiguredrecord component.booleanReturns the value of thesensitiveRedactionEnabledrecord component.booleanReturns the value of thesignedRegistryRecordsRequiredrecord component.booleanReturns the value of thestrictRegistryTrustrecord component.booleanReturns the value of thetamperEvidentAuditEnabledrecord component.booleanReturns the value of thetimestampValidationEnabledrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SecureConfigurationProfile
public SecureConfigurationProfile(boolean productionMode, boolean insecureGrpcAllowed, boolean mtlsRequired, boolean mtlsConfigured, boolean strictRegistryTrust, boolean registryVerifierConfigured, boolean replayProtectionEnabled, boolean timestampValidationEnabled, boolean signedRegistryRecordsRequired, boolean auditSinkConfigured, boolean tamperEvidentAuditEnabled, boolean sensitiveRedactionEnabled, boolean externalPdpConfigured, boolean limitsConfigured, boolean resourcePolicyConfigured, boolean adminStatusProtected, boolean evidenceExportEnabled, boolean credentialRotationConfigured) Creates an instance of aSecureConfigurationProfilerecord class.- Parameters:
productionMode- the value for theproductionModerecord componentinsecureGrpcAllowed- the value for theinsecureGrpcAllowedrecord componentmtlsRequired- the value for themtlsRequiredrecord componentmtlsConfigured- the value for themtlsConfiguredrecord componentstrictRegistryTrust- the value for thestrictRegistryTrustrecord componentregistryVerifierConfigured- the value for theregistryVerifierConfiguredrecord componentreplayProtectionEnabled- the value for thereplayProtectionEnabledrecord componenttimestampValidationEnabled- the value for thetimestampValidationEnabledrecord componentsignedRegistryRecordsRequired- the value for thesignedRegistryRecordsRequiredrecord componentauditSinkConfigured- the value for theauditSinkConfiguredrecord componenttamperEvidentAuditEnabled- the value for thetamperEvidentAuditEnabledrecord componentsensitiveRedactionEnabled- the value for thesensitiveRedactionEnabledrecord componentexternalPdpConfigured- the value for theexternalPdpConfiguredrecord componentlimitsConfigured- the value for thelimitsConfiguredrecord componentresourcePolicyConfigured- the value for theresourcePolicyConfiguredrecord componentadminStatusProtected- the value for theadminStatusProtectedrecord componentevidenceExportEnabled- the value for theevidenceExportEnabledrecord componentcredentialRotationConfigured- the value for thecredentialRotationConfiguredrecord component
-
-
Method Details
-
productionBaseline
Returns a conservative production baseline profile.- Returns:
- production baseline profile
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
productionMode
public boolean productionMode()Returns the value of theproductionModerecord component.- Returns:
- the value of the
productionModerecord component
-
insecureGrpcAllowed
public boolean insecureGrpcAllowed()Returns the value of theinsecureGrpcAllowedrecord component.- Returns:
- the value of the
insecureGrpcAllowedrecord component
-
mtlsRequired
public boolean mtlsRequired()Returns the value of themtlsRequiredrecord component.- Returns:
- the value of the
mtlsRequiredrecord component
-
mtlsConfigured
public boolean mtlsConfigured()Returns the value of themtlsConfiguredrecord component.- Returns:
- the value of the
mtlsConfiguredrecord component
-
strictRegistryTrust
public boolean strictRegistryTrust()Returns the value of thestrictRegistryTrustrecord component.- Returns:
- the value of the
strictRegistryTrustrecord component
-
registryVerifierConfigured
public boolean registryVerifierConfigured()Returns the value of theregistryVerifierConfiguredrecord component.- Returns:
- the value of the
registryVerifierConfiguredrecord component
-
replayProtectionEnabled
public boolean replayProtectionEnabled()Returns the value of thereplayProtectionEnabledrecord component.- Returns:
- the value of the
replayProtectionEnabledrecord component
-
timestampValidationEnabled
public boolean timestampValidationEnabled()Returns the value of thetimestampValidationEnabledrecord component.- Returns:
- the value of the
timestampValidationEnabledrecord component
-
signedRegistryRecordsRequired
public boolean signedRegistryRecordsRequired()Returns the value of thesignedRegistryRecordsRequiredrecord component.- Returns:
- the value of the
signedRegistryRecordsRequiredrecord component
-
auditSinkConfigured
public boolean auditSinkConfigured()Returns the value of theauditSinkConfiguredrecord component.- Returns:
- the value of the
auditSinkConfiguredrecord component
-
tamperEvidentAuditEnabled
public boolean tamperEvidentAuditEnabled()Returns the value of thetamperEvidentAuditEnabledrecord component.- Returns:
- the value of the
tamperEvidentAuditEnabledrecord component
-
sensitiveRedactionEnabled
public boolean sensitiveRedactionEnabled()Returns the value of thesensitiveRedactionEnabledrecord component.- Returns:
- the value of the
sensitiveRedactionEnabledrecord component
-
externalPdpConfigured
public boolean externalPdpConfigured()Returns the value of theexternalPdpConfiguredrecord component.- Returns:
- the value of the
externalPdpConfiguredrecord component
-
limitsConfigured
public boolean limitsConfigured()Returns the value of thelimitsConfiguredrecord component.- Returns:
- the value of the
limitsConfiguredrecord component
-
resourcePolicyConfigured
public boolean resourcePolicyConfigured()Returns the value of theresourcePolicyConfiguredrecord component.- Returns:
- the value of the
resourcePolicyConfiguredrecord component
-
adminStatusProtected
public boolean adminStatusProtected()Returns the value of theadminStatusProtectedrecord component.- Returns:
- the value of the
adminStatusProtectedrecord component
-
evidenceExportEnabled
public boolean evidenceExportEnabled()Returns the value of theevidenceExportEnabledrecord component.- Returns:
- the value of the
evidenceExportEnabledrecord component
-
credentialRotationConfigured
public boolean credentialRotationConfigured()Returns the value of thecredentialRotationConfiguredrecord component.- Returns:
- the value of the
credentialRotationConfiguredrecord component
-