pop modify
Modifies protected object policies.
Requires authentication (administrator ID and password) to use this command.
Syntax
pop modify pop_name delete attribute attribute_name [attribute_value]
pop
modify pop_name set attribute attribute_name attribute_value
pop
modify pop_name set audit-level {all|none|audit_level_list}
pop
modify pop_name set description description
pop
modify pop_name set ipauth add network netmask level
pop
modify pop_name set ipauth anyothernw level
pop
modify pop_name set ipauth remove network netmask
pop
modify pop_name set qop {none|integrity|privacy}
pop
modify pop_name set tod-access {anyday|weekday|day_list}:{anytime|time_spec-time_spec}[:{utc|local}]
pop
modify pop_name set warning {yes|no}
Description
The pop modify command
modifies a protected object policy (POP). When you use the set ipauth add or set ipauth remove options,
you can specify the IP addresses. The values for the network and netmask options
are TCP/IP addresses. These IP addresses can be specified by using
either version 4 (IPv4) or version 6 (IPv6) notation. Both the network and netmask options
must be specified in the same IP version.
- For administration commands, IPv4 clients must provide addresses in IPv4 format even with IPv6 servers.
- For C APIs, IPv4 clients must provide addresses in IPv4 format even with IPv6 servers.
- For C APIs, IPv6 clients can provide addresses in IPv4 or IPv6 format to IPv6 servers.
- For Java™ methods, IPv4 and IPv6 clients must provide addresses in IPv4 format to IPv4 servers.
- For Java methods, IPv4 clients can provide addresses in IPv4 or IPv6 format to IPv6 servers.
The operating system functions that are provided to Security Access Manager have certain limitations. Regardless of C or Java clients, IPv4 addresses must be in IPv4 format when you add addresses to a POP.
Options
deleteattributeattribute_name[attribute_value]- Deletes the specified value from the specified extended attribute
key in the specified POP. The attribute must exist, or an error is
displayed.
The optional
attribute_valuedeletes the specified value from the specified extended attribute key in the specified POP.Examples of extended attribute names and values:Dept_No445 Employee_Name"Diana Lucas" pop_name- Specifies the name of the protected object policy to be modified. The POP must exist, or an error is displayed.
setattributeattribute_nameattribute_value- Sets or modifies the specified value from the specified extended
attribute key in the specified POP. If the attribute exists, the attribute
value is added as an additional value if the same value does not exist
for this attribute. If the same value exists for this attribute, it
does not get added again (duplicate values are not allowed), and no
error is returned.
The
attribute_valuesets the specified value from the specified extended attribute key in the specified POP.Example:
"Credit Card" setaudit-level{all|none|audit_level_list}- Sets the audit level for the specified POP. The format of an
audit_level_listis a comma-separated list that contains one or more of these audit levels:permit,deny,error,admin. setdescriptiondescription- Sets the description of the specified POP.
A valid description is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set. If the description contains a space, ensure that you enclose the description in double quotation marks. You can specify an empty string ("") to clear an existing description.
Example of description:
"Policies of Jenson Corp." setipauthaddnetworknetmasklevel- Sets the IP endpoint authentication settings in the specified
POP. The values for the
networkandnetmaskoptions are TCP/IP addresses. These IP addresses can be specified by using either version 4 (IPv4) or version 6 (IPv6) addresses. Both thenetworkandnetmaskoptions must be specified in the same IP version.The following values are supported forlevel:forbidden- A value that prohibits object access.
integer_values- Application-specific integer values that define the step-up authentication
levels. All integer values, except
1000, are supported. For more information about step-up authentication, see the Administering topics in the IBM Knowledge Center.
setipauthanyothernwlevel- Sets the
anyothernw(any other network setting) for the IP authentication level in the specified POP. If controlling access by IP address is not important, use theanyothernwoption to set the authentication level for:- All IP addresses, and
- IP address ranges not listed explicitly in the POP.
The following values are supported forlevel:forbidden- A value that prohibits object access.
integer_values- Application-specific integer values that define the step-up authentication
levels. All integer values, except
1000, are supported. For more information about step-up authentication, see the Administering topics in the IBM Knowledge Center.
setipauthremovenetworknetmask- Removes the IP endpoint authentication settings from the specified
POP. The values for the
networkandnetmaskoptions are TCP/IP addresses. These IP addresses can be specified by using either version 4 (IPv4) or version 6 (IPv6) notation. Both thenetworkandnetmaskoptions must be specified in the same IP version. setqop{none|integrity|privacy}- Sets the quality of protection level for the specified POP. The following string values are supported:
noneintegrityprivacy
settod-access{anyday|weekday|day_list}:{anytime|time_spec-time_spec}[:{utc|local}]- Sets the time of day range for the specified protected object
policy.
The
day_listis a comma-separated list of days of the week, each of which is represented by a three-character value (for example,mon,wed,fri). Theday_listspecifies which days of the week the object can be accessed. If you want to list every day of the week, specifyanyday; if you do not want to include the weekend days, specifyweekday.The
time_specformat is specified ashhmmand is expressed by using a 24-hour clock (for example,0900for 9 a.m. or1430for 2:30 p.m.). The default value is not defined, and the optional time zone islocalby default. Thetime_specvalue and time zone specify the time of day the object can be accessed.Note:utc=GMT setwarning{yes|no}- Sets the warning mode for the specified protected object policy.
Valid values are
yesorno.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command
provides a description of the error and an error status code in hexadecimal
format (for example,
0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.
Examples
- This example shows how to modify the description for the POP named
test:pdadmin sec_master> pop modify test description "Test POP" - This example shows how to turn on the warning mode for the POP
named
test:pdadmin sec_master> pop modify test set warning yes - This example shows how to set the audit level to audit all requests
on a protected object that result in successful:
- Access by using
permit. - Denial of access by using
deny.
pdadmin sec_master> pop modify test set audit-level permit,deny - Access by using
- This example shows how to set an attribute named
attr1with a value ofvalueAfor the POP namedpop1:pdadmin sec_master> pop modify pop1 set attribute attr1 valueA