Skip to content

Merge pull request #1066 from gordon-cs/security-hotfix-schedule-access #958

Merge pull request #1066 from gordon-cs/security-hotfix-schedule-access

Merge pull request #1066 from gordon-cs/security-hotfix-schedule-access #958

Triggered via push September 11, 2024 14:19
Status Success
Total duration 5m 13s
Artifacts 1

ci-cd.yml

on: push
Fit to window
Zoom out
Zoom in

Deployment protection rules

Reviewers, timers, and other rules protecting deployments in this run
Event Environments Comment
EjPlatzer
approved Sep 11, 2024
Production

Annotations

23 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: Gordon360/Controllers/MembershipsController.cs#L85
'Resource.MEMBERSHIP_BY_ACTIVITY' is obsolete: 'Unused once obsolete routes are removed'
build: Gordon360/Models/webSQL/Models/account.cs#L13
The type name 'account' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: Gordon360/Exceptions/CustomExceptions.cs#L10
Non-nullable property 'ExceptionMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Exceptions/CustomExceptions.cs#L14
Non-nullable property 'ExceptionMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Exceptions/CustomExceptions.cs#L22
Non-nullable property 'ExceptionMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Authorization/AzureAdConfig.cs#L5
Non-nullable property 'Instance' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Authorization/AzureAdConfig.cs#L6
Non-nullable property 'ClientId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Authorization/AzureAdConfig.cs#L7
Non-nullable property 'TenantId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Authorization/AzureAdConfig.cs#L8
Non-nullable property 'Audience' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Gordon360/Exceptions/CustomExceptions.cs#L18
Non-nullable property 'ExceptionMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
deploy-prod
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
deploy-prod: Gordon360/Controllers/MembershipsController.cs#L85
'Resource.MEMBERSHIP_BY_ACTIVITY' is obsolete: 'Unused once obsolete routes are removed'
deploy-prod: Gordon360/Models/webSQL/Models/account.cs#L13
The type name 'account' only contains lower-cased ascii characters. Such names may become reserved for the language.
deploy-prod: Gordon360/Authorization/AuthUtils.cs#L20
Dereference of a possibly null reference.
deploy-prod: Gordon360/Authorization/StateYourBusiness.cs#L67
Possible null reference assignment.
deploy-prod: Gordon360/Program.cs#L55
Dereference of a possibly null reference.
deploy-prod: Gordon360/Program.cs#L84
Possible null reference argument for parameter 'origins' in 'CorsPolicyBuilder CorsPolicyBuilder.WithOrigins(params string[] origins)'.
deploy-prod: Gordon360/Program.cs#L108
Dereference of a possibly null reference.
deploy-prod: Gordon360/Controllers/VersionController.cs#L24
Possible null reference argument for parameter 's' in 'DateTime DateTime.Parse(string s)'.
deploy-prod: Gordon360/Controllers/VersionController.cs#L27
Possible null reference assignment.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "build-Production". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
deploy-prod: Gordon360/Controllers/ScheduleController.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Artifacts

Produced during runtime
Name Size
build-Production
29.2 MB