Quickstart: Add C++ Agent to AUT
Quickstart: Adding the C++ Agent to an Application
2
C++ Agent Configuration and BSID Generation
./SL.Agent.Cpp config \
--token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
--appName="shopping-cart-service" \
--branchName="feature-checkout" \
--buildName="v1.2.3-build-456" \
--labId="shoppingcart.dev.qa-blue" \
--include="<source_folder_path>"export SL_APPNAME="shopping-cart-service"
export SL_BRANCHNAME="feature-checkout"
export SL_BUILDNAME="v1.2.3-build-456"
export SL_LABID="shoppingcart.dev.qa-blue"
export SL_INCLUDE="<source_folder_path>"
./SL.Agent.Cpp config{
"general": {
"command": "run",
"appName": "shopping-cart-service",
"branchName": "feature-checkout",
"buildName": "v1.2.3-build-456"
},
"session":{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"LabId": "shoppingcart.dev.qa-blue"
},
"scan": {
"binDir": "bin",
"include": [
"src/*.cpp,include/*.h,main.cpp"
]
}
}Last updated
Was this helpful?

