Interface INagLogger

    • Method Detail

      • onCompliance

        @Stability(Stable)
        void onCompliance​(@NotNull
                          NagLoggerComplianceData data)
        Called when a CfnResource passes the compliance check for a given rule.

        Parameters:
        data - This parameter is required.
      • onError

        @Stability(Stable)
        void onError​(@NotNull
                     NagLoggerErrorData data)
        Called when a rule throws an error during while validating a CfnResource for compliance.

        Parameters:
        data - This parameter is required.
      • onNonCompliance

        @Stability(Stable)
        void onNonCompliance​(@NotNull
                             NagLoggerNonComplianceData data)
        Called when a CfnResource does not pass the compliance check for a given rule and the the rule violation is not suppressed by the user.

        Parameters:
        data - This parameter is required.
      • onNotApplicable

        @Stability(Stable)
        void onNotApplicable​(@NotNull
                             NagLoggerNotApplicableData data)
        Called when a rule does not apply to the given CfnResource.

        Parameters:
        data - This parameter is required.
      • onSuppressed

        @Stability(Stable)
        void onSuppressed​(@NotNull
                          NagLoggerSuppressedData data)
        Called when a CfnResource does not pass the compliance check for a given rule and the rule violation is suppressed by the user.

        Parameters:
        data - This parameter is required.
      • onSuppressedError

        @Stability(Stable)
        void onSuppressedError​(@NotNull
                               NagLoggerSuppressedErrorData data)
        Called when a rule throws an error during while validating a CfnResource for compliance and the error is suppressed.

        Parameters:
        data - This parameter is required.