Configurable Settings - .NET Agent on Linux for Dynamic Analysis
- How to apply changes to the Controller environment
- Required fields in installation.yaml
- Sample with required fields in installation.yaml
- Optional fields in installation.yaml
How to apply changes to the Controller environment
Changes in the installation.yaml
can be applied by running the install script or the upgrade script. Note that re-running the install script will delete any information that would have been stored previously.
Required fields in installation.yaml
Variable Name | Key Value | |
---|---|---|
controller.name
|
String | This will be the identifier used in the VF Server UI. So, this should be as precise a name as possible, e.g. "UAT Viper" or "Prod App1" |
controller.host
|
String | The controller.host is the address that the vFunction Server address with which the Controller will connect. The value needs to start with http:// or https://. The value can be an IP Address or a FQDN |
controller.org_id
|
Strings | Once the Server is installed, the Admin can log into the UI and create the App. In the UI's Install Controller dialog box, the YAML values for the org_id, app_id, client_id and client_secret will be displayed. The values for this YAML file should be copied for the Server UI to here |
controller.type
|
String | "dotnet" |
Sample with required fields in installation.yaml
controller:
name: Prod App1
host: http://10.0.0.143
org_id: 3cf59199-0a0a-0a0a-0a0a-7c63ffac776e
app_id: 7b1ab58d-0a0a-0a0a-0a0a-098a113ad721
client_id: 20761b99-0a0a-0a0a-0a0a-94c2e0bc1859
client_secret: 6b5b7bc1-0a0a-0a0a-0a0a-2bd10db75e2f
type: dotnet
instrconf_additions:
inclusions:
exclusions:
server_application:
agent:
viper:
port: 8091
aseemblies:
- /opt/dummy
Optional fields in installation.yaml
- agent.application_command
- agent.application_name
- agent.architecture
- controller.agent_port
- controller.client_certificate
- controller.instance_id
- controller.tags
agent.application_command
The Path in the Application Command will need to be escaped. This is why they example below includes two backslashes at each folder level. agent:
application_command: /opt/vfunction/vf-viper -ap
|
|
agent.application_name
agent:
application_name: vfunction-dotnet-app
|
|
agent.architecture
agent:
architecture: x86
|
|
controller.agent_port
controller:
type: dotnet
agent_port: 9778
|
|
controller.client_certificate
controller:
client_certificate:
crt: |
-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- key: |
-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- |
|
controller.instance_id
controller:
instance_id: containerized
|
|
controller.tags
controller:
tags:
- applicationName - moduleName |
|