SumoLogic / sumologic-azure-function

A collection of Azure functions to collect data and send to Sumo Logic cloud service
Apache License 2.0
8 stars 26 forks source link

Azure metrics collection upgrade to v2 #73

Closed himanshu219 closed 9 months ago

himanshu219 commented 9 months ago
  1. Features

    • Added automated tests for ARM templates in github action.
  2. Enhancements / Updates

      1. Fixed broken unit tests for Event Hub Metrics collection and upgraded test dependencies.
      1. Added support for collector and source creation in unit tests.
      1. Upgraded function runtime version to ~4 and nodejs version to node 18
      1. Upgraded api version in ARM template resources
  3. Fixes for soon to be deprecated resources

    • Migrated classic application Insights to workspace-based Application Insights Details
  4. Security / CVE fixes Below fixes were done for security and best practices for Event Hub Metrics ARM template

    • BC_AZR_GENERAL_117: "Ensure that 'supportsHttpsTrafficOnly' is set to 'true'"
    • BC_AZR_NETWORKING_16: "Ensure 'Trusted Microsoft Services' is enabled for Storage Account access"
    • BC_AZR_NETWORKING_5: "Ensure web app redirects all HTTP traffic to HTTPS in Azure App Service"
    • BC_AZR_NETWORKING_8: "Ensure that 'HTTP Version' is the latest if used to run the web app"
    • BC_AZR_NETWORKING_6: "Ensure web app is using the latest version of TLS encryption"
    • apiVersions Should Be Recent In Reference Functions
    • Location Should Not Be Hardcoded
    • Parameter Types and Names Should Be Consistent