Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

[Auto] AI Gallery Standard Validation FAILED #13

Open
ai-apps-bot opened this issue Jul 3, 2024 · 0 comments
Open

[Auto] AI Gallery Standard Validation FAILED #13

ai-apps-bot opened this issue Jul 3, 2024 · 0 comments

Comments

@ai-apps-bot
Copy link

ai-apps-bot commented Jul 3, 2024

AI Gallery Standard Validation: FAILED

Repository Management:

README.md File. [How to fix?]
  • Error: ## Features is missing in README.md.
  • Error: ## Getting Started is missing in README.md.
  • Error: ## Guidance is missing in README.md.
  • Error: ## Resources is missing in README.md.
✔️ LICENSE.md File.
SECURITY.md File. [How to fix?]
  • Error: SECURITY.md file is missing.
CODE_OF_CONDUCT.md File. [How to fix?]
  • Error: CODE_OF_CONDUCT.md file is missing.
CONTRIBUTING.md File. [How to fix?]
  • Error: CONTRIBUTING.md file is missing.
ISSUE_TEMPLATE.md File. [How to fix?]
  • Error: ISSUE_TEMPLATE.md file is missing.
Topics on repo contains ['azd-templates', 'ai-azd-templates']. [How to fix?]
  • Error: ai-azd-templates is missing in topics.

Source code structure and conventions:

✔️ azure-dev.yaml File.
✔️ azure.yaml File.
✔️ infra Folder.
✔️ .devcontainer Folder.

Functional Requirements:

✔️ azd up.
✔️ azd down.

Security Requirements:

⚠️ microsoft/security-devops-action is integrated to the CI/CD pipeline. [How to fix?]

Not found security check related actions in the CI/CD pipeline.

  • Error: microsoft/security-devops-action is missing in .github/workflows/azure-dev.yml.
  • Error: github/codeql-action/upload-sarif is missing in .github/workflows/azure-dev.yml.
⚠️ Security scan. [How to fix?]
  • error: AZR-000363 - Container apps environments allows you to expose your container app to the Internet.
    Container apps environments deployed as external resources are available for public requests. External environments are deployed with a virtual IP on an external, public facing IP address.
    Disable public network access to improve security by exposing the Container Apps environment through an internal load balancer.
    This removes the need for a public IP address and prevents internet access to all Container Apps within the environment.
    To provide secure access, instead consider using an Application Gateway or Azure Front Door premium in front of your Container Apps on your private VNET.

  • error: AZR-000005 - Azure Container Registry (ACR) includes a built-in local admin user account. The admin user account is a single user account with administrative access to the registry. This account provides single user access for early test and development. The admin user account is not intended for use with production container registries.
    Instead of using the admin user account, consider using Entra ID (previously Azure AD) identities. Entra ID provides a centralized identity and authentication system for Azure. This provides a number of benefits including:

  • Strong account protection controls with conditional access, identity governance, and privileged identity management.

  • Auditing and reporting of account activity.

  • Granular access control with role-based access control (RBAC).

  • Separation of account types for users and applications.

  • error: AZR-000363 - Container apps environments allows you to expose your container app to the Internet.
    Container apps environments deployed as external resources are available for public requests. External environments are deployed with a virtual IP on an external, public facing IP address.
    Disable public network access to improve security by exposing the Container Apps environment through an internal load balancer.
    This removes the need for a public IP address and prevents internet access to all Container Apps within the environment.
    To provide secure access, instead consider using an Application Gateway or Azure Front Door premium in front of your Container Apps on your private VNET.

  • error: AZR-000005 - Azure Container Registry (ACR) includes a built-in local admin user account. The admin user account is a single user account with administrative access to the registry. This account provides single user access for early test and development. The admin user account is not intended for use with production container registries.
    Instead of using the admin user account, consider using Entra ID (previously Azure AD) identities. Entra ID provides a centralized identity and authentication system for Azure. This provides a number of benefits including:

  • Strong account protection controls with conditional access, identity governance, and privileged identity management.

  • Auditing and reporting of account activity.

  • Granular access control with role-based access control (RBAC).

  • Separation of account types for users and applications.

How to fix?

The full Definition of Done of the AI-Gallery template and fix approached can be found HERE.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant