Skip to content

Commit

Permalink
Merge branch 'master' into v-prasadboke-workbookmetadata-syncup
Browse files Browse the repository at this point in the history
  • Loading branch information
v-prasadboke committed Sep 8, 2023
2 parents 90ee4bf + 04941e9 commit 86dd805
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"NCProtectWorkbook",
"SAP-Monitors-AlertsandPerformance",
"SAP-SecurityAuditlogandInitialAccess",
"SAP-AuditControls"
"SAP-AuditControls",
"IslandAdminAuditOverview",
"IslandUserActivityOverview",
"BloodHoundEnterpriseAttackPathWorkbook",
"BloodHoundEnterprisePostureWorkbook",
"UserWorkbook-alexdemichieli-github-update-1",
"SalemDashboard"
]
}
9 changes: 9 additions & 0 deletions Solutions/SAP/sapcon-sentinel-kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ while [[ $# -gt 0 ]]; do
SID="$2"
shift 2
;;
--hostnetwork)
HOSTNETWORK=1
shift 1
;;
--clientnumber)
CLIENTNUMBER="$2"
shift 2
Expand Down Expand Up @@ -265,6 +269,7 @@ while [[ $# -gt 0 ]]; do
echo "--abapserver <servername>"
echo "--systemnr <system number>"
echo "--sid <SID>"
echo "--hostnetwork"
echo "--clientnumber <client number>"
echo "--messageserverhost <servername>"
echo "--messageserverport <servername>"
Expand Down Expand Up @@ -787,6 +792,10 @@ cmdparams=" --label Cloud=$CLOUD"
# Generating SENTINEL_AGENT_GUID
cmdparams+=" -e SENTINEL_AGENT_GUID=$(uuidgen) "

if [ $HOSTNETWORK ]; then
cmdparams+=" --network host"
fi

if [ "$MODE" == "kvmi" ]; then
echo "Creating docker container for use with Azure Key vault and managed VM identity"
sudo docker create -v "$sysfileloc":/sapcon-app/sapcon/config/system $cmdparams $sncline $httpproxyline --name "$containername" $dockerimage$tagver >/dev/null
Expand Down
9 changes: 8 additions & 1 deletion Solutions/SAP/sapcon-sentinel-ui-agent-kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ while [[ $# -gt 0 ]]; do
APPID="$2"
shift 2
;;
--hostnetwork)
HOSTNETWORK=1
shift 1
;;
--appsecret)
APPSECRET="$2"
shift 2
Expand Down Expand Up @@ -132,6 +136,7 @@ while [[ $# -gt 0 ]]; do
echo "--keymode [kvmi|kvsi]"
echo "--configpath <path>"
echo "--sdk <filename>"
echo "--hostnetwork"
echo "--network <network>"
echo "--appid <guid>"
echo "--appsecret <secret>"
Expand Down Expand Up @@ -424,7 +429,9 @@ elif [ "$MODE" == "kvsi" ]; then
log "Creating agent and configuring to use Azure Key vault and application authentication"
cmdparams+=" -e AZURE_CLIENT_ID=$APPID -e AZURE_CLIENT_SECRET=$APPSECRET -e AZURE_TENANT_ID=$TENANT"
fi

if [ $HOSTNETWORK ]; then
cmdparams+=" --network host"
fi
sudo docker create -v "$sysfileloc":/sapcon-app/sapcon/config/system $cmdparams --name "$containername" $dockerimage$tagver >/dev/null

log 'Created Microsoft Sentinel SAP agent '"$AGENTNAME"
Expand Down

0 comments on commit 86dd805

Please sign in to comment.