Class AccountFindingsMetric

    • Method Detail

      • closedFindings

        public final FindingMetricsValuePerSeverity closedFindings()

        The number of closed findings of each severity in an account on the specified date.

        Returns:
        The number of closed findings of each severity in an account on the specified date.
      • date

        public final Instant date()

        The date from which the finding metrics were retrieved.

        Returns:
        The date from which the finding metrics were retrieved.
      • meanTimeToClose

        public final FindingMetricsValuePerSeverity meanTimeToClose()

        The average time it takes to close findings of each severity in days.

        Returns:
        The average time it takes to close findings of each severity in days.
      • newFindings

        public final FindingMetricsValuePerSeverity newFindings()

        The number of new findings of each severity in account on the specified date.

        Returns:
        The number of new findings of each severity in account on the specified date.
      • openFindings

        public final FindingMetricsValuePerSeverity openFindings()

        The number of open findings of each severity in an account as of the specified date.

        Returns:
        The number of open findings of each severity in an account as of the specified date.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)