Skip to content

Add tests to catch any new HTTP links added to product code #3347

@ChrisUbben

Description

@ChrisUbben

We should be using HTTPS for all links that are found in product code unless there is a specific reason to use HTTP.
There should be some automation at some point to detect new HTTP links added and verify if a suitable HTTPS counterpart can be used.

Comments from @TravisEz13 in PR #3331:
"We could add a meta test suite and use a regex to validate we use https: and not http:

DSC Resources have some meta tests (not for something exactly like this):
https://github.com/PowerShell/DscResource.Tests/blob/dev/Meta.Tests.ps1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-No ActivityIssue has had no activity for 6 months or moreWG-Quality-Testissues in a test or in test infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions