1. A method comprising: identifying, by a processing device, a request to calculate a partial risk score for a data object, wherein the request comprises a parameter of a partial risk score filter, wherein the data object is associated with a hazard indicating a violation of a policy by the data object; determining, by the processing device, whether a characteristic associated with the hazard matches the parameter of the partial risk score filter; when the characteristic associated with the hazard matches the parameter of the partial risk score filter, adding, by the processing device, a respective stored risk score to the partial risk score for the data object; and providing, by the processing device, 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.