azsk / ADOScanner-docs

Welcome to the documentation of ADO Security Scanner!
MIT License
64 stars 14 forks source link

how to setup Log analytics workspace in Pipeline #62

Closed pshahid1 closed 2 years ago

juhi037 commented 2 years ago

@pshahid1 Please follow these steps to set LA workspace in pipeline based scans:

  1. You need to add two variables to the pipeline:
    • LAWSId: provide your LA workspace ID in this variable
    • LAWSSharedKey: provide your LA primary key Make sure both these values are correct. To find the correct pair of LAWS Id and Key, follow the steps: Go to Azure Portal -> Select your LAWS -> Select Agent Management under settings
  2. If you are using the ADO Scanner task in a classic build/release pipeline, check the "Send events to Log Analytics" checkbox.
pshahid1 commented 2 years ago

thank you so much, yes that configuration helped