Creating custom attributes
Application Security comes with technical, organization, and business attributes that enable administrators and security leads to categorize applications and application versions. As an Administrator or a Security Lead, you can create your own custom attributes that can be set for application versions.
To create a custom attribute:
Sign in as an Administrator or a Security Lead.
On the header, select Administration.
On the navigation pane, expand Templates, and then select Attributes.
Click NEW.
In the CREATE NEW ATTRIBUTE dialog box, provide the information described in the following table.
Field
Description
Name
Type a descriptive name for the attribute.
If you delete an attribute that Application Security uses by default, and you then create a new attribute with the same name, database migration might fail.
Description
Type a brief description.
The description is displayed under the attribute field in the CREATE NEW APPLICATION VERSION wizard.
Category
Select an attribute type.
Depending on the category you select, the attribute is displayed on corresponding attribute tab of the CREATE NEW APPLICATION VERSION wizard.
Type
Select one of the following control types:
- To create a text field into which a user can type a single line of text, select Text ‑ Single Line.
To create a list from which a user can select only a single value for the attribute, select List of Values ‑ Single Selection.
If you create a single-selection type attribute, users can select it from the Group by and Aggregate by lists on the Dashboard view to customize the displayed data.
To create a list from which a user can select multiple values for the attribute, select List of Values ‑ Multiple Selection.
To create a text field into which a user can type multiple lines of text, select Text ‑ Multiple Lines.
If you select one of the List of Values types, additional fields are displayed in which you add the values and their descriptions, and specify whether they are hidden.
- To create a check box for the attribute, select Boolean.
To create a field that accepts an integer value, select Integer.
To create a calendar selection control for the attribute, select Date.
This type is not available for a dynamic scan request attribute.
Required
Select this check box to require users to set this attribute when they create an application template.
Hidden
Select this check box to prevent this new attribute from being displayed in the CREATE NEW APPLICATION VERSION wizard.
If you select Hidden to prevent the attribute from displaying in the CREATE NEW APPLICATION VERSION wizard, you must also clear the Required check box.
Click SAVE.
The new attribute is available the next time a user creates a new application version.
For instructions on how to specify custom attributes in existing application versions, see Applying new custom attributes to application versions.
By default, a custom attribute you create through the user interface is deletable. You can use the Application Security API to define a non-deletable attribute. For information about how to access the API, see Accessing the API documentation.
See Also