Upgrade GitHub App Azure-Sentinel

George Zerphey 136 Reputation points
2024-05-20T19:24:19.46+00:00

We have been using the Azure-Sentinel GitHub App to synchronize our repository to Sentinel. Its been a while since its been installed and lately we have been getting the following error:

deploy-content Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, azure/powershell@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Is there a way to trigger an update of the GitHub App or reinstall it without losing the connection information we have in the system?

Thank you,

Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,018 questions
{count} votes

1 answer

Sort by: Most helpful
  1. George Zerphey 136 Reputation points
    2024-05-22T19:18:36.3833333+00:00

    I have found an answer to this for everyone in the future. I had to get the latest ps1 file from Sentinel by connecting it to a new repo and made a few alterations to the yml file. @Marilee Turscak-MSFT As a side-note it would be really helpful to understand where these yml templates and ps1 files are stored so we can watch them for updates

    YML Updates:

    Checkout had to be changed to version 4.

    • name: Checkout uses: actions/checkout@v4

    Login had to be changed to version 2. These had to be changed for each login retry.

    steps: - name: Login to Azure (Attempt 1) continue-on-error: true id: login1 uses: azure/login@v2

    Powershell needed to be changed to version 2

    • name: Deploy Content to Azure Sentinel uses: azure/powershell@v2
    1 person found this answer helpful.