Having defined a security point for PACKAGE_ACTIONS in the NAMEQU external security (ESI) definitions
Noticed that the security package does NOT seem to receive any check for resources formatted by the PACKAGE_ACTIONS security point.
For example, CLASS parameter sets an incorrect class name so security checks would for sure fail, but no security failure is seen anywhere for package actions.
What can be the reason?
This may be caused by the PKGSEC= setting in the C1DEFLTS table, as follows:
To check PGKSEC= setting at runtime, take an options report by either
The options report prints to EN$TROPT DD for the batch job or the TSO session showing the PKGSEC setting:
-------------------------- Package Processing Options --------------------------
Approval Reqd....Y CAST Security.....N Security...MIGRATE
Foreground Exec..Y INSPECT Security..N Comp Validation...O
Generated High-lvl Index for Remote PKG JCL.........
Package Admin actions SMF recording.................Y
To 'see' whether ESI is checked for package actions, can take a trace by adding EN$TRESI DD using any of the above methods
The ESI checks performed under the PACKAGE_ACTIONS point show the caption "Format=0006" at the start of each entry.
Here is a sample entry with Format=0002 (PRIMARY_OPTIONS) to illustrate where the caption shows up
0 ENCS101I Format=0002 Pass=0000 Auth=READ ACEE=00000000 ENBISECR SECCRUTN+0005CC
ENCS101I Class=£ENDEVOR Log=NONE Func=RETRIEVE
ENCS101I Scale=0....+....1....+....2....+....3....+....4....+....5....+....6
ENCS101I Entity=P1.ENV1.PMENU.BATCHPKG
ENCS101I User USER01 access is allowed from SAF