Class MissingSensitiveTraitValidator

  • All Implemented Interfaces:
    Validator

    public final class MissingSensitiveTraitValidator
    extends AbstractValidator

    Validates that shapes and members that possibly contain sensitive data are marked with the sensitive trait.

    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Finds shapes without the sensitive trait that possibly contain sensitive data, based on the shape/member name and the list of key words and phrases.
        Parameters:
        model - Model to validate.
        Returns:
        list of violation events