Skip to content

Commit eeb70d4

Browse files
tamasmakheruanpeholmst
authored
Update AppSec Kit configuration documentation (#4641)
* Update AppSec Kit configuration docs * Update articles/tools/appsec/advanced-topics.adoc --------- Co-authored-by: Giovanni Lovato <[email protected]> Co-authored-by: Petter Holmström <[email protected]>
1 parent 19e5421 commit eeb70d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/tools/appsec/advanced-topics.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ AppSecService.getInstance().setConfiguration(appSecConfiguration);
2727

2828
You can set or override the following configuration values in the `AppSecConfiguration`:
2929

30+
`vaadinPlatformVersion`::
31+
The Vaadin platform version that the application is using.
3032
`appSecRoute`::
3133
The route of the AppSec Kit user interface.
3234
`dataFilePath`::
@@ -47,6 +49,10 @@ The boolean value to decide if the npm development dependencies should be includ
4749
The boolean value to decide if the server push should be automatically activated in the application.
4850

4951

52+
=== Vaadin Version
53+
54+
The AppSec Kit requires the Vaadin platform version that is used in the application when getting the Vaadin platform BOM. First, it checks if the `vaadin-core` dependency is present in the application and uses the version of that dependency as the Vaadin platform version. If the `vaadin-core` dependency is not present then it gets the version defined in the AppSec Kit configuration through this configuration option. If this configuration option is not defined then an `AppSecException` is thrown. The version should be defined as a `String`. The default value is `null`.
55+
5056
=== AppSec Kit Route
5157

5258
You can configure the route of the AppSec Kit user interface. The default value is `vaadin-appsec-kit`.

0 commit comments

Comments
 (0)