Custom attributes

Custom attributes are named data values that you can create and set for patch policies. They provide a way for you can save additional information about patch policies. You can use custom attributes in a variety of ways including in scripts, network and server configuration, notifications, and CRON script configurations. When you set a custom attribute for a patch policy, it is available to all servers attached to the policy. For more information on custom attributes, see the SA 10.51 Use section.

Adding a custom attribute to a patch policy

When you add a custom attribute to a Solaris patch policy, the attribute values affect the servers attached to the policy. After you add a custom attribute to a Solaris patch policy, you must attach the policy to a managed server and then remediate the server against the policy.

You must have a set of permissions to add custom attributes to a Solaris patch policy. To obtain these permissions, contact your SA administrator. See the SA 10.51 Administer section for more information.

To add a custom attribute to a patch policy:

  1. In the navigation pane, select Library > By Type> Patch Policies > Solaris and select a version of Solaris.
  2. In the content pane, select the Solaris patch policy and open it. The Solaris Patch Policy window appears.
  3. In the Views pane, select Custom Attributes.
  4. Either select , or from the Actions menu, select Add.... A new custom attribute is added named “New Attribute”.
  5. Enter the name of the custom attribute and select Enter.
  6. To give a value to the custom attribute, either double click on the row under the Value column and enter the value, or click and enter the value in the Input Dialog.
  7. Select Save from the File menu.

Deleting a custom attribute from a patch policy

To delete a custom attribute from a patch policy:

  1. In the navigation pane, select Library > By Type> Patch Policies > Solaris and select a version of Solaris.
  2. In the content pane, select the Solaris patch policy and open it. The Solaris Patch Policy window appears.
  3. In the Views pane, select Custom Attributes. This displays the custom attributes defined for the policy.
  4. In the content pane, select the custom attribute that you want to delete and then click , or from the Actions menu, select Remove.
  5. Select Save from the File menu.