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.
OptionallevelOptional level (for backward compatibility)
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 widgets that display security impacts
Business Perspective
Impact widgets help stakeholders understand the consequences of their security choices, highlighting how each security level affects the organization from technical, operational, and business perspectives. 💼