1. A computer-implemented method comprising: determining one or more hazards for a data object, wherein each hazard represents a violation of a data loss prevention (DLP) policy by the data object, each hazard comprising a set of characteristics and a stored risk score calculated for the violation; identifying a request to calculate a partial risk score for the data object, wherein the request comprises a partial risk score filter; for each of the one or more hazards, performing partial risk score determination comprising: determining whether a characteristic of the set of characteristics associated with the hazard matches a parameter in the partial risk score filter, and when the characteristic associated with the hazard matches the parameter in the partial risk score filter, adding a respective stored risk score to the partial risk score for the data object; and upon completing the partial risk score determination for the one or more hazards, providing the partial risk score in response to the request to a data loss prevention system to protect sensitive information associated with the data object from being exposed outside of a computer network.