Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
11 kB
1
Indexable
Never
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
  name: container-security-operator.v1.0.0
  namespace: openshift-operators
spec:
  customresourcedefinitions:
    owned:
    - description: Represents a set of vulnerabilities in an image manifest.
      displayName: Image Manifest Vulnerability
      kind: ImageManifestVuln
      name: imagemanifestvulns.secscan.quay.redhat.com
      version: v1alpha1
  displayName: Container Security
  install:
    spec:
      deployments:
      - name: container-security-operator
        spec:
          replicas: 1
          selector:
            matchLabels:
              name: container-security-operator-alm-owned
          template:
            metadata:
              labels:
                name: container-security-operator-alm-owned
              name: container-security-operator-alm-owned
            spec:
              containers:
              - command:
                - /bin/security-labeller
                - '--namespaces=$(WATCH_NAMESPACE)'
                env:
                - name: MY_POD_NAMESPACE
                  valueFrom:
                    fieldRef:
                      fieldPath: metadata.namespace
                - name: MY_POD_NAME
                  valueFrom:
                    fieldRef:
                      fieldPath: metadata.name
                - name: WATCH_NAMESPACE
                  valueFrom:
                    fieldRef:
                      fieldPath: metadata.annotations['olm.targetNamespaces']
                image: quay.io/quay/container-security-operator@sha256:154d7e0295a94fb3d2a97309d711186a98a7308da37a5cd3d50360c6b2ba57de
                name: container-security-operator
              serviceAccountName: container-security-operator
      permissions:
      - rules:
        - apiGroups:
          - secscan.quay.redhat.com
          resources:
          - imagemanifestvulns
          - imagemanifestvulns/status
          verbs:
          - '*'
        - apiGroups:
          - ''
          resources:
          - pods
          - events
          verbs:
          - '*'
        - apiGroups:
          - ''
          resources:
          - secrets
          verbs:
          - get
        serviceAccountName: container-security-operator
    strategy: deployment
  installModes:
  - supported: true
    type: OwnNamespace
  - supported: true
    type: SingleNamespace
  - supported: true
    type: MultiNamespace
  - supported: true
    type: AllNamespaces
  keywords:
  - open source
  - containers
  - security
  labels:
    alm-owner-container-security-operator: container-security-operator
    operated-by: container-security-operator
  icon:
  - base64data: iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCA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BUx9yEPYltf1gxYPLx3W/VWFvpaWT8ZLS5Ak362DxDfS2SB8b2qdMLKrVwN6UIhMbbFHqv9J5NiQGTDnFCTyOjB2DZBTffflCIokShTG5KlUgEwUQIS9EDsOhsc6HxFobqGZRCl02FqBKZIBw62JGeuUSP+REabyGo7EqVvqDikgkiF4RDcxZ6zA89WUZonMXQ6hBakGBiBCXDtAnCIWHoyTKzfTRGoydaNzVdQnCmXRAOhTJ6mMls62Ooj6DlnVGHJj9mTBAOdf70/Ax6ZAM9JUC4YRqg/Rm0JYBWoUfVWcsy44I4IXHoKQF0MD2dhR5VWKNwRHv6aBsZ7VyaaRGczCpBvKDQRic+05m29EVHqcoKRR88O66CNuR30T7wmQpFUgD4Px6QRGRh7pGzAAAAAElFTkSuQmCC
    mediatype: image/png
  maturity: alpha
  links:
  - name: Source Code
    url: https://github.com/quay/container-security-operator
  maintainers:
  - email: quay-devel@redhat.com
    name: Quay Engineering Team
  provider:
    name: Red Hat
  selector:
    matchLabels:
      alm-owner-container-security-operator: container-security-operator
      operated-by: container-security-operator
  version: 1.0.0
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: imagemanifestvulns.secscan.quay.redhat.com
spec:
  group: secscan.quay.redhat.com
  version: v1alpha1
  versions:
    - name: v1alpha1
      served: true
      storage: true
  scope: Namespaced
  names:
    plural: imagemanifestvulns
    singular: imagemanifestvuln
    kind: ImageManifestVuln
    listKind: ImageManifestVulnList
    shortNames:
      - vuln
  preserveUnknownFields: false
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      type: object
      required: ["spec"]
      properties:
        spec:
          type: object
          properties:
            image:
              type: string
              minLength: 1
            manifest:
              type: string
              minLength: 1
            namespaceName:
              type: string
              minLength: 1
            features:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                    minLength: 1
                  versionformat:
                    type: string
                    minLength: 1
                  namespaceName:
                    type: string
                    minLength: 1
                  version:
                    type: string
                    minLength: 1
                  vulnerabilities:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          minLength: 1
                        namespaceName:
                          type: string
                          minLength: 1
                        description:
                          type: string
                          minLength: 1
                        link:
                          type: string
                          minLength: 1
                        fixedby:
                          type: string
                          minLength: 1
                        severity:
                          type: string
                          minLength: 1
                        metadata:
                          type: string
                          minLength: 1
        status:
          type: object
          properties:
            lastUpdate:
              type: string
              minLength: 1
            highestSeverity:
              type: string
              minLength: 1
            unknownCount:
              type: integer
              minimum: 0
            negligibleCount:
              type: integer
              minimum: 0
            lowCount:
              type: integer
              minimum: 0
            mediumCount:
              type: integer
              minimum: 0
            highCount:
              type: integer
              minimum: 0
            criticalCount:
              type: integer
              minimum: 0
            defcon1Count:
              type: integer
              minimum: 0
            fixableCount:
              type: integer
              minimum: 0
            affectedPods:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string