Class PolicyIdsEventsBySignature.Builder

    • Method Detail

      • setCount

        public PolicyIdsEventsBySignature.Builder setCount​(java.lang.Long count)
        Number of times this particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        count - New value for the property.
      • setFirstOccurence

        public PolicyIdsEventsBySignature.Builder setFirstOccurence​(java.lang.Long firstOccurence)
        First occurence of the intrusion, in epoch milliseconds. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        firstOccurence - New value for the property.
      • setFirstOccurrenceSite

        public PolicyIdsEventsBySignature.Builder setFirstOccurrenceSite​(java.lang.String firstOccurrenceSite)
        The site at which the intrusion first occurred. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        firstOccurrenceSite - New value for the property.
      • setIsOngoing

        public PolicyIdsEventsBySignature.Builder setIsOngoing​(java.lang.Boolean isOngoing)
        Flag indicating an ongoing intrusion. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        isOngoing - New value for the property.
      • setProjectId

        public PolicyIdsEventsBySignature.Builder setProjectId​(java.lang.String projectId)
        Project Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        projectId - New value for the property.
      • setProjectPath

        public PolicyIdsEventsBySignature.Builder setProjectPath​(java.lang.String projectPath)
        Project path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        projectPath - New value for the property.
      • setResourceType

        public PolicyIdsEventsBySignature.Builder setResourceType​(java.lang.String resourceType)
        IDSEvent resource type. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        resourceType - New value for the property.
      • setSeverity

        public PolicyIdsEventsBySignature.Builder setSeverity​(java.lang.String severity)
        Severity of the threat covered by the signature, can be Critical, High, Medium, or Low. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        severity - New value for the property.
      • setSignatureId

        public PolicyIdsEventsBySignature.Builder setSignatureId​(java.lang.Long signatureId)
        Signature ID pertaining to the detected intrusion. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        signatureId - New value for the property.
      • setSignatureName

        public PolicyIdsEventsBySignature.Builder setSignatureName​(java.lang.String signatureName)
        Name of the signature pertaining to the detected intrusion. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        signatureName - New value for the property.
      • setSitesOccurred

        public PolicyIdsEventsBySignature.Builder setSitesOccurred​(java.util.List<java.lang.String> sitesOccurred)
        The sites at which the intrusion occurred. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        sitesOccurred - New value for the property.