Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After installing or updating the app, you can configure the app settings in the Configuration screen. 

...

The Configuration page provides the following tabs:

Anchor
gviz_330_globalConfig
gviz_330_globalConfig
Global configuration

...

ParameterDefaultDescription
Restrict URL accessOff

This option controls if the macros can access or are restricted from accessing specified URLs. The specified URLs in the macro editors must conform to the Confluence Allowlist; provided, the allowlist is enabled. 

Confluence allows the administrator to turn on allowlist to restrict incoming and outgoing connections to only those connections that are configured in the Allowlist settings. If enabled, the URL to Graphviz file or URL to UML file parameters are also restricted to the URLs that are configured in the Allowlist settings for Confluence only.

Allow JavaScriptOn

This option controls Javascript usage in the Graphviz for Confluence app. Disable this option to restrict execution of JavaScript within the macros. Available since 3.3.

Note

You can also control JavaScript usage on pages that use the Graphviz for Confluence app. Refer to Macro Security Configuration to restrict the usage of JavaScript in the Graphviz macros from the Macro Security for Confluence Configuration page


Blacklist domainsOff

This option controls whether or not certain domains are blacklisted. By default, this option is disabled for backward compatibility. Available since 3.3.

If enabled, and if a request from any of these sites is received, an error message is displayed. However, if users still need to access a blacklisted site, they must contact their administrator to disable this option. Click the link named listed (in the description beneath the option) to view a pre-defined list of the most commonly blacklisted domains in a pop-up window. The following sites are blacklisted, by default:

  • 10.0.0.0/8
  • 100.64.0.0/10
  • 127.0.0.0/8
  • 169.254.0.0/16
  • 172.16.0.0/12
  • 192.168.0.0/16
  • 192.0.0.0/24
  • 198.18.0.0/15
  • 255.255.255.255/32
  • 0.0.0.0/32
  • 192.0.2.0/24
  • 192.88.99.0/24
  • 198.51.100.0/24
  • 203.0.113.0/24
  • 224.0.0.0/4
  • 240.0.0.0/4
Help us improve the productOnThis option allows us to collect some usage data to help us improve our product. To learn more about what is being sent, refer to Analytics Data.

Anchor
gviz_330_templates
gviz_330_templates
Templates

...

This tab lists all the default templates provided by Graphviz Diagrams for Confluence. These templates provide users with a quick start to creating diagrams and the respective macro editors are pre-configured with these templates.

Profiles

...

ParameterDescription
Profile name

Enter a name for the profile. Profile names given here are populated in the Profile field in the macro editor. 

Note

This name must be unique; else, the details specified overwrites the details of the existing profile. This may cause errors in pages where the profile is used.


Profile typeSpecify whether this is a URL, GitLab, or GitHub address. The default option for this parameter is URL.
URL

Enter the URL of the remote location to be accessed. It is recommended to provide the base URL here. 

Note

A raw URL must be provided in the URL to Graphviz/Diagraph/Graph/PlantUML file parameter of the respective macro editor to provide an absolute path to the required file.


User; Password

Enter the username and password, if required, to access the specified URL. 

Note

Specify either the User and Password parameters or the Access token parameter, as an access token is also a means of user authentication. It is recommended to use either of the user authentication methods but not both.


Access token

Enter an access token or an API token for the application or service to be connected with. 

Note

If this parameter is specified, ensure that the User and Password parameters are left empty. It is recommended to use either of the user authentication methods but not both.

Each application has its own method of generating tokens. Access tokens or API tokens are a means of user authentication; so, if mentioned, this token is used for authentication instead of using user credentials.

  • Tokens are generated for a user after the application or service to be connected verifies the user's credentials. 
  • Enter the generated token here for a seamless connection between the app's macros and the application or service.

Here are some of the links associated with GitLab and GitHub applications to generate a personal access token:

URL parametersMention any extra parameters (for the query string) that must be appended to the specified URL here.
Request headers

Displays the request headers created as per the given information. Request headers are name or value pairs that are added to the request. For example, GitHub requires the following request headers be specified: Authorization: token $accessToken, Accept:application/vnd.github.v3.raw

This field is automatically populated with a comma-separated list of name or value pairs using the provided information. If required, enter additional name or value pairs separated with commas.

...