Segments, Traits, and Operators

Information about general resource profile segments dictionaries, traits dictionaries, and operators.

Segments

 

Segments that are NOT documented below are considered Experimental.

 

Note that just because a Segment is considered Stable that does not mean that all of the Traits in that Segment are considered Stable. See Traits for more detail.

 

The base segment is always included in ResourceAdmin.extract() by default.

 

When using the ResourceAdmin.extract() function, the following is the current list of additional segments that have been tested and validated. Feel free to experiment with any of the segments defined in pyracf/resource/resource_admin.py in the pyRACF source code.

 

Segment Description
base Describes a general resource profile’s Base attributes.
cdtinfo Describes a general resource profile’s Resource Class attributes.
cfdef Describes a general resource profile’s Custom Field attributes.
kerb Describes a general resource profile’s Kerberos Realm attributes.
session Describes a general resource profile’s APPC Session attributes.
sigver Describes a general resource profile’s Signed Program attributes.
stdata Describes a general resource profile’s Started Task attributes.

Traits

 

Traits that are NOT documented below are considered Experimental.

 

Some Traits can be set to False to delete their existing values.

 

When using the ResourceAdmin.add() and ResourceAdmin.alter() functions, the following are valid resource traits. Feel free to experiment with any of the other traits defined in pyracf/resource/resource_admin.py in the pyRACF source code.

 

Traits use the following syntax: <segment>:<trait>

 

Trait Description Valid Types
base:universal_access Set a resource’s Universal Access level. str
base:audit_alter Set a resource’s Auditing Rules to audit Alter accesses of the specified type of Access Attempt. str
base:audit_control Set a resource’s Auditing Rules to audit Control accesses of the specified type of Access Attempt. str
base:audit_none Remove all of a resource’s Auditing Rules. True
base:audit_read Set a resource’s Auditing Rules to audit Read accesses of the specified type of Access Attempt. str
base:audit_update Set a resource’s Auditing Rules to audit Update accesses of the specified type of Access Attempt. str
cdtinfo:case_allowed Set the Case Allowed for the names of profiles in this resource class. str, False
cdtinfo:default_racroute_return_code Set the Default Return Code for requests to access profiles in this resource class. int, False
cdtinfo:valid_first_characters Set the Valid Character Types for the first characters in names of profiles in this resource class. str, False
cdtinfo:generic_profile_checking Specifies whether the SETROPTS GENERIC and SETROPTS GENCMD options are allowed for this resource class. These allow generic profile checking and generic profile command processing for this resource class. str, False
cdtinfo:generic_profile_sharing Specifies whether the SETROPTS GENLIST option is allowed for this resource class. This allows generic profiles that are successfully accessed to be stored in common storage and shared. str, False
cdtinfo:grouping_class_name Set the Grouping Class name associated with this resource class. str, False
cdtinfo:key_qualifiers Set the number of Qualifiers used to determine a match for profiles in this resource class int
cdtinfo:manditory_access_control_processing Specifies which type of Mandatory Access Control processing is required for this resource class. str, False
cdtinfo:max_length Set the Maximum Length for the names of profiles within this resource class. str, False
cdtinfo:max_length_entityx Set the Maximum Length for the names of profiles when a RACROUTE macro is invoked with the ENTITYX keyword within this resource class. str, False
cdtinfo:member_class_name Set the Member Class name associated with this resource class. str, False
cdtinfo:operations Specifies if RACF should consider the Operations attribute when it performs authorization checking. str, False
cdtinfo:valid_other_characters Set the Valid Character Types for the other characters in names of profiles in this resource class. str, False
cdtinfo:posit_number Set the Posit Number for this resource class. This controls flags that control many RACF processing options. int, False
cdtinfo:profiles_allowed Specifies whether or not Profiles are Allowed for this resource class. bool
cdtinfo:raclist_allowed Specifies whether or not this class is Allowed to be Raclisted. bool
cdtinfo:send_enf_signal_on_profile_creation Specify whether or not ENF Signals should be sent to listeners for raclisted profiles in this resource class when they are created, updated, or deleted. str, False
cdtinfo:security_label_required Specify whether or not Security Labels are required for the profiles in this resource class. str, False
cdtinfo:default_universal_access Set the Default Universal Access Value for profiles in this resource class. str, False
cfdef:help_text Set the Help Text for this custom field. str
cfdef:valid_first_characters Set the Valid Character Types for the first characters in values for this custom field. str
cfdef:valid_other_characters Set the Valid Character Types for the other characters in values for this custom field. str
kerb:key_encryption_type Set the Encryption Algorithms for this kerberos realm. str, False
session:security_checking_level Specifies the Level(s) of Security Checking performed when conversations are established with the LU protected by this profile. str, False
session:session_key_interval The Maximum Number of Days that the session key is valid. int, False
session:locked Specify whether or not this profile is Locked. bool
session:session_key Set the Session Key for this profile to be used in the specified connection. int, str, False
sigver:log_signature_verification_events Specifies whether to Audit Signature Verification Events for this signed program. str, False
stdata:group Set the Group to associate with this started task. str, False
stdata:privileged Specify whether or not this started task runs with the RACF Privileged attribute. bool
stdata:trace Specify whether or not this started task should issue a message to the operator to Trace use of this entry. bool
stdata:trusted Specify whether or not this started task runs with the RACF Trusted attribute. bool
stdata:user Set the User ID to associate with this started task. str, False

Operators

Operators can be prepended to traits using the following syntax: <operator>:<segment>:<trait>

 

Valid Operators: add, remove, delete

Key-Value Pair Traits

Operators are generally not needed for key-value pair traits. For key-value pair traits, setting the value to a non-False value with no operator will generally set or overwrite the trait and setting the value to False will generally unset or disable the trait.

List Traits

Trait Operator Usage