The selected availability level
Controls system uptime and accessibility requirements.
OptionalchildrenOptional children elements
OptionalclassOptional CSS class name for custom styling
Allows consumers to apply custom styles via CSS classes. Use Tailwind CSS classes or custom CSS classes.
The selected confidentiality level
Controls data privacy and access control requirements.
The selected integrity level
Controls data accuracy and consistency requirements.
OptionalonOptional callback fired when availability level changes
New security level selected by user
OptionalonOptional callback fired when confidentiality level changes
New security level selected by user
OptionalonOptional callback when widget encounters an error
Error that occurred
OptionalonOptional callback fired when integrity level changes
New security level selected by user
OptionaltestOptional test ID for automated testing
Used by testing frameworks (Cypress, Vitest) to locate and interact with the component. Should follow the pattern defined in testIds constants.
Props for security-related widgets
Business Perspective
These widgets form the foundation of security assessment in the application, allowing organizations to visualize and manage their security posture across the CIA triad. 🔒