Skip to content

Additional Examples Needed #1

@jdivis

Description

@jdivis

Background

These are the only supported languages for CodeQL scanning that we use at CI:
CodeQL supports both compiled and interpreted languages, and can find vulnerabilities and errors in code that's written in the supported languages.

C#
JavaScript/TypeScript
Python

With that understanding, we need to add additional examples to help test the functionality

Azure Function

  • Add a non-trivial python function that reads a list of numeric ids from a csv that was dropped into blog storage, checks a URL by appending the id to the URL, and reports back a status based on whether the image retrieved from the URL is rotated (wider than it is tall), whether the image is missing (error status from call, or if the image returned is a specific size (359x531 -- this is indicative of a placeholder image, and thus should be counted as missing), if neither of the pervious conditions, then count the record as Good. Save the downloaded files to blob storage, and save an output of the individual results, as well as an aggregate.

CRM-powerapps

  • Add a C# plugin example added to the CRM-powerapps directory.
  • Add Client-Side Scripting: JavaScript allows developers to create custom business logic that runs directly in the user's browser, without requiring server-side interactions. This is a non-trivial client-side code that validates user input, and ensures that both pieces of user data align to expected business rules.

Database

  • Add an example of C# code that is called from an Azure Synapse Pipeline, to parse a fullname field into first and last name.

Infrastructure

  • Add an example of a non-trivial yaml based pipeline

web portal

  • Make the existing example, a non-trivial app.js example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions