Class Pscan


  • public class Pscan
    extends PscanDeprecated
    This file was automatically generated.
    • Constructor Detail

    • Method Detail

      • scanOnlyInScope

        public ApiResponse scanOnlyInScope()
                                    throws ClientApiException
        Tells whether or not the passive scan should be performed only on messages that are in scope.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • recordsToScan

        public ApiResponse recordsToScan()
                                  throws ClientApiException
        The number of records the passive scanner still has to scan.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • scanners

        public ApiResponse scanners()
                             throws ClientApiException
        Lists all passive scan rules with their ID, name, enabled state, and alert threshold.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • currentRule

        @Deprecated
        public ApiResponse currentRule()
                                throws ClientApiException
        Deprecated.
        Shows information about the passive scan rule currently being run (if any).

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • currentTasks

        public ApiResponse currentTasks()
                                 throws ClientApiException
        Shows information about the passive scan tasks currently being run (if any).

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • maxAlertsPerRule

        public ApiResponse maxAlertsPerRule()
                                     throws ClientApiException
        Gets the maximum number of alerts a passive scan rule should raise.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • setEnabled

        public ApiResponse setEnabled​(java.lang.String enabled)
                               throws ClientApiException
        Sets whether or not the passive scanning is enabled (Note: the enabled state is not persisted).

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • setScanOnlyInScope

        public ApiResponse setScanOnlyInScope​(java.lang.String onlyinscope)
                                       throws ClientApiException
        Sets whether or not the passive scan should be performed only on messages that are in scope.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • enableScanners

        public ApiResponse enableScanners​(java.lang.String ids)
                                   throws ClientApiException
        Enables passive scan rules.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • disableScanners

        public ApiResponse disableScanners​(java.lang.String ids)
                                    throws ClientApiException
        Disables passive scan rules.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • setScannerAlertThreshold

        public ApiResponse setScannerAlertThreshold​(java.lang.String id,
                                                    java.lang.String alertthreshold)
                                             throws ClientApiException
        Sets the alert threshold of a passive scan rule.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException
      • setMaxAlertsPerRule

        public ApiResponse setMaxAlertsPerRule​(java.lang.String maxalerts)
                                        throws ClientApiException
        Sets the maximum number of alerts a passive scan rule can raise.

        This component is optional and therefore the API will only work if it is installed

        Throws:
        ClientApiException