(LOGO.JPG) Python for OpenVMS

(go to: table of contents, index, list of vms_sys, prev: DASSGN, next: DELETE_PROXY)


DELETE_INTRUSION - Delete Intrusion Records


Format:
    vms_sys.delete_intrusion (user_criteria, [flags])
Returns:

None

Arguments:

user_criteria
Description of intruder or suspect - a Python string.
flags
Functional specification for the service. Bitmasks (like CIA_M_IGNORE_RETURN) are available in the 'vms_ciadef' module.
Examples:
$ show INTRUSION
Intrusion       Type       Count  Expiration   Source
   NETWORK      SUSPECT       4   22:18:54.62  HERE::ZESSIN
$


>>> import vms_sys
>>> vms_sys.delete_intrusion ('HERE::ZESSIN')

$ show INTRUSION
%SHOW-F-NOINTRUDERS, no intrusion records match specification
$

-----
>>> vms_sys.delete_intrusion ('HERE::ZESSIN')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
vms_sys.error: (116311746, '%SECSRV-E-CIADBEMPTY, no intruders\
 or suspects currently exist')
>>>


>>> # this conflicts with the documentation that says that
>>> #  SECURITY privilege is required
>>> vms_sys.delete_intrusion ('HERE::ZESSIN')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
vms_sys.error: (10468, '%SYSTEM-F-NOSYSPRV, operation requires\
 SYSPRV privilege')
>>>
>>>

(go to: table of contents, index, list of vms_sys, prev: DASSGN, next: DELETE_PROXY)

31-MAY-1999 ZE.