Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #6

Merged
merged 1 commit into from
Dec 4, 2024
Merged

update #6

merged 1 commit into from
Dec 4, 2024

Conversation

khulnasoft-bot
Copy link
Contributor

@khulnasoft-bot khulnasoft-bot commented Dec 4, 2024

User description

Description

Related issues

  • Close #XXX

Related PRs

  • #XXX
  • #YYY

Remove this section if you don't have related PRs.

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

PR Type

tests, enhancement, documentation, configuration changes, dependencies, miscellaneous


Description

  • Updated all references from aquasecurity to khulnasoft across multiple files.
  • Modified test cases, URLs, and metadata to reflect the new vendor name.
  • Enhanced documentation to reflect the vendor name change.
  • Updated configuration files and workflows to use new vendor-specific settings.
  • Changed module paths and dependencies to the new vendor.
  • Updated miscellaneous files such as JSON data and templates to reflect the new vendor.

Changes walkthrough 📝

Relevant files
Tests
23 files
marshal_test.go
Update CycloneDX marshal test for vendor change                   

pkg/sbom/cyclonedx/marshal_test.go

  • Updated vendor and group labels from aquasecurity to khulnasoft.
  • Modified property names and values to reflect the new vendor.
  • +90/-90 
    parse_testcase.go
    Update Go module parser test cases for vendor change         

    pkg/dependency/parser/golang/mod/parse_testcase.go

  • Changed module paths from aquasecurity to khulnasoft.
  • Updated URLs in test cases to reflect the new vendor.
  • +31/-31 
    parse_test.go
    Update Go binary parser test cases for vendor change         

    pkg/dependency/parser/golang/binary/parse_test.go

  • Updated package IDs and names from aquasecurity to khulnasoft.
  • Modified test cases to reflect the new vendor.
  • +21/-21 
    mod_test.go
    Update Go module analyzer test for vendor change                 

    pkg/fanal/analyzer/language/golang/mod/mod_test.go

  • Changed module paths from aquasecurity to khulnasoft.
  • Updated external references to reflect the new vendor.
  • +16/-16 
    vex_test.go
    Update VEX test cases for vendor change                                   

    pkg/vex/vex_test.go

  • Updated package IDs and names from aquasecurity to khulnasoft.
  • Modified test cases to reflect the new vendor.
  • +20/-20 
    server.go
    Update Rekor test server for vendor change                             

    pkg/rekortest/server.go

  • Updated group labels and properties from aquasecurity to khulnasoft.
  • +17/-17 
    manager_test.go
    Update plugin manager test for vendor change                         

    pkg/plugin/manager_test.go

  • Changed repository URLs from aquasecurity to khulnasoft.
  • Updated test cases to reflect the new vendor.
  • +12/-12 
    marshal_test.go
    Update SPDX marshal test for vendor change                             

    pkg/sbom/spdx/marshal_test.go

  • Updated vendor labels and creator names from aquasecurity to
    khulnasoft.
  • +10/-10 
    parse_testcase.go
    Update Go sum parser test cases for vendor change               

    pkg/dependency/parser/golang/sum/parse_testcase.go

  • Changed module paths from aquasecurity to khulnasoft.
  • Updated URLs in test cases to reflect the new vendor.
  • +5/-5     
    sarif_test.go
    Update SARIF report test for vendor change                             

    pkg/report/sarif_test.go

    • Updated information URIs from aquasecurity to khulnasoft.
    +6/-6     
    parse_test.go
    Update Java POM parser test comments for vendor change     

    pkg/dependency/parser/java/pom/parse_test.go

    • Updated comments to reflect the new vendor khulnasoft.
    +3/-3     
    manager_test.go
    Update VEX repo manager test for vendor change                     

    pkg/vex/repo/manager_test.go

    • Changed repository URLs from aquasecurity to khulnasoft.
    +4/-4     
    source_test.go
    Update Terraform source resolver test for vendor change   

    pkg/iac/scanners/terraform/parser/resolvers/source_test.go

    • Updated source URLs from aquasecurity to khulnasoft.
    +4/-4     
    purl_test.go
    Update PURL test for vendor change                                             

    pkg/purl/purl_test.go

    • Updated package URLs from aquasecurity to khulnasoft.
    +3/-3     
    filter_test.go
    Update result filter test for vendor change                           

    pkg/result/filter_test.go

    • Updated package URLs from aquasecurity to khulnasoft.
    +3/-3     
    git_test.go
    Update Git repo artifact test for vendor change                   

    pkg/fanal/artifact/repo/git_test.go

    • Updated repository URLs from aquasecurity to khulnasoft.
    +4/-4     
    index_test.go
    Update plugin index test for vendor change                             

    pkg/plugin/index_test.go

    • Updated maintainer names from aquasecurity to khulnasoft.
    +4/-4     
    encode_test.go
    Update SBOM encoder test for vendor change                             

    pkg/sbom/io/encode_test.go

    • Updated vendor labels from aquasecurity to khulnasoft.
    +2/-2     
    plugin_test.go
    Update integration plugin test for vendor change                 

    integration/plugin_test.go

    • Updated plugin URL from aquasecurity to khulnasoft.
    +1/-1     
    binary_test.go
    Update Go binary analyzer test for vendor change                 

    pkg/fanal/analyzer/language/golang/binary/binary_test.go

    • Updated package IDs and names from aquasecurity to khulnasoft.
    +2/-2     
    vuln_test.go
    Update vulnerability predicate test for vendor change       

    pkg/report/predicate/vuln_test.go

    • Updated package URL from aquasecurity to khulnasoft.
    +1/-1     
    minikube-kbom.json
    Update SBOM fixture for vendor change                                       

    integration/testdata/fixtures/sbom/minikube-kbom.json

    • Updated vendor labels from aquasecurity to khulnasoft.
    +41/-41 
    go.mod
    Update Go module test data for vendor change                         

    pkg/fanal/analyzer/language/golang/mod/testdata/pkg/mod/github.com/khulnasoft/[email protected]/go.mod

    • Updated module path from aquasecurity to khulnasoft.
    +1/-1     
    Enhancement
    25 files
    github.go
    Update GitHub report writer for vendor change                       

    pkg/report/github/github.go

  • Updated URLs and metadata keys from aquasecurity to khulnasoft.
  • +3/-3     
    sarif.go
    Update SARIF report writer for vendor change                         

    pkg/report/sarif.go

    • Updated information URIs from aquasecurity to khulnasoft.
    +2/-2     
    app.go
    Update command app for vendor change                                         

    pkg/commands/app.go

  • Updated plugin installation instructions from aquasecurity to
    khulnasoft.
  • +2/-2     
    git.go
    Update Git repo artifact for vendor change                             

    pkg/fanal/artifact/repo/git.go

    • Updated default Git username from aquasecurity to khulnasoft.
    +2/-2     
    manager.go
    Update plugin manager for vendor change                                   

    pkg/plugin/manager.go

    • Updated example URL from aquasecurity to khulnasoft.
    +1/-1     
    cluster.go
    Update Kubernetes cluster command for vendor change           

    pkg/k8s/commands/cluster.go

    • Updated import path from aquasecurity to khulnasoft.
    +1/-1     
    encode.go
    Update SBOM encoder for vendor change                                       

    pkg/sbom/io/encode.go

    • Updated example label from aquasecurity to khulnasoft.
    +1/-1     
    repo.go
    Update VEX repository for vendor change                                   

    pkg/vex/repo.go

    • Updated reference URL from aquasecurity to khulnasoft.
    +1/-1     
    vuln.go
    Update vulnerability predicate for vendor change                 

    pkg/report/predicate/vuln.go

    • Updated package URL from aquasecurity to khulnasoft.
    +1/-1     
    marshal.go
    Update SPDX marshal for vendor change                                       

    pkg/sbom/spdx/marshal.go

    • Updated creator organization from aquasecurity to khulnasoft.
    +1/-1     
    manager.go
    Update VEX repo manager for vendor change                               

    pkg/vex/repo/manager.go

    • Updated default VEXHub URL from aquasecurity to khulnasoft.
    +1/-1     
    client.go
    Update Java DB client for vendor change                                   

    pkg/javadb/client.go

    • Updated media type from aquasec to khulnasoft.
    +1/-1     
    cache.go
    Update Terraform cache resolver for vendor change               

    pkg/iac/scanners/terraform/parser/resolvers/cache.go

    • Updated temporary directory name from .aqua to .khulnasoft.
    +1/-1     
    marshal.go
    Update CycloneDX marshal for vendor change                             

    pkg/sbom/cyclonedx/marshal.go

    • Updated tool vendor from aquasecurity to khulnasoft.
    +1/-1     
    kbom.json
    Update vendor references from `aquasecurity` to `khulnasoft`.

    pkg/sbom/cyclonedx/testdata/happy/kbom.json

  • Updated group and name fields from aquasecurity to khulnasoft.
  • Changed multiple name and value properties to reflect new vendor name.

  • +39/-39 
    bom.json
    Update vendor references in BOM JSON.                                       

    pkg/sbom/cyclonedx/testdata/happy/bom.json

  • Updated group and name fields from aquasecurity to khulnasoft.
  • Changed multiple name and value properties to reflect new vendor name.

  • +27/-27 
    bom.json
    Update vendor references in SBOM artifact JSON.                   

    pkg/fanal/artifact/sbom/testdata/bom.json

  • Updated group and name fields from aquasecurity to khulnasoft.
  • Changed multiple name and value properties to reflect new vendor name.

  • +24/-24 
    npm-cyclonedx.json.golden
    Update vendor references in NPM CycloneDX JSON.                   

    integration/testdata/npm-cyclonedx.json.golden

  • Updated group and name fields from aquasecurity to khulnasoft.
  • Changed multiple name and value properties to reflect new vendor name.

  • +28/-28 
    fluentd-multiple-lockfiles-cyclonedx.json
    Update vendor references in Fluentd multiple lockfiles CycloneDX JSON.

    integration/testdata/fixtures/sbom/fluentd-multiple-lockfiles-cyclonedx.json

  • Changed vendor field from aquasecurity to khulnasoft.
  • Updated multiple name and value properties to reflect new vendor name.

  • +23/-23 
    infinite-loop-bom.json
    Update vendor references in infinite loop BOM JSON.           

    pkg/sbom/cyclonedx/testdata/happy/infinite-loop-bom.json

  • Updated group and name fields from aquasecurity to khulnasoft.
  • Changed multiple name and value properties to reflect new vendor name.

  • +23/-23 
    gomod_tunnel.sum
    Update Go module paths to new vendor.                                       

    pkg/dependency/parser/golang/sum/testdata/gomod_tunnel.sum

    • Updated module paths from aquasecurity to khulnasoft.
    +5/-5     
    fluentd-multiple-lockfiles-short.cdx.json.golden
    Update vendor references in Fluentd short CycloneDX JSON.

    integration/testdata/fluentd-multiple-lockfiles-short.cdx.json.golden

  • Updated group and name fields from aquasecurity to khulnasoft.
  • Changed multiple name and value properties to reflect new vendor name.

  • +22/-22 
    centos-7-cyclonedx.json
    Update vendor references in CentOS 7 CycloneDX JSON.         

    integration/testdata/fixtures/sbom/centos-7-cyclonedx.json

  • Changed vendor field from aquasecurity to khulnasoft.
  • Updated multiple name and value properties to reflect new vendor name.

  • +19/-19 
    go.sum
    Update Go module paths in test data to new vendor.             

    integration/testdata/fixtures/repo/gomod/go.sum

    • Updated module paths from aquasecurity to khulnasoft.
    +4/-4     
    go.mod
    Update Go module path in test data to new vendor.               

    pkg/fanal/analyzer/language/golang/mod/testdata/pkg/mod/github.com/khulnasoft/[email protected]/go.mod

    • Updated module path from aquasecurity to khulnasoft.
    +1/-1     
    Configuration changes
    15 files
    magefile.go
    Update magefile for vendor change                                               

    magefiles/magefile.go

    • Changed tool installation from aquasecurity to khulnasoft.
    +4/-4     
    vex.go
    Update VEX magefile for vendor change                                       

    magefiles/vex.go

    • Updated repository URL from aquasecurity to khulnasoft.
    +2/-2     
    asff.tpl
    Update ASFF template for vendor change                                     

    contrib/asff.tpl

    • Updated product ARN from aquasecurity to khulnasoft.
    +3/-3     
    install.sh
    Update install script for vendor change                                   

    contrib/install.sh

    • Updated owner from aquasecurity to khulnasoft.
    +2/-2     
    .golangci.yaml
    Update GolangCI configuration for vendor change                   

    .golangci.yaml

    • Updated linting rules to reflect the new vendor khulnasoft.
    +5/-5     
    oci.openvex.json
    Update VEX repository URLs to new vendor.                               

    .vex/oci.openvex.json

    • Updated repository URLs from aquasecurity to khulnasoft.
    +14/-14 
    roadmap.yaml
    Update GitHub workflow project URLs to new vendor.             

    .github/workflows/roadmap.yaml

    • Updated project URLs from aquasecurity to khulnasoft.
    +9/-9     
    goreleaser.yml
    Update GoReleaser configuration to new vendor.                     

    goreleaser.yml

  • Updated homepage and source URLs from aquasecurity to khulnasoft.
  • +7/-7     
    test.yaml
    Update GitHub Actions to use khulnasoft-installer               

    .github/workflows/test.yaml

  • Updated GitHub Actions workflow to use khulnasoft-installer instead of
    aqua-installer.
  • Changed version and options keys to khulnasoft_version and
    khulnasoft_opts.
  • +11/-11 
    cache-test-images.yaml
    Update cache-test-images workflow to khulnasoft-installer

    .github/workflows/cache-test-images.yaml

  • Updated GitHub Actions workflow to use khulnasoft-installer instead of
    aqua-installer.
  • Changed version key to khulnasoft_version.
  • +7/-9     
    backport.yaml
    Update backport workflow to khulnasoft-bot                             

    .github/workflows/backport.yaml

    • Updated bot username from aqua-bot to khulnasoft-bot.
    +3/-5     
    publish-chart.yaml
    Update publish-chart workflow to khulnasoft-installer       

    .github/workflows/publish-chart.yaml

  • Updated GitHub Actions workflow to use khulnasoft-installer instead of
    aqua-installer.
  • Changed version and options keys to khulnasoft_version and
    khulnasoft_opts.
  • Updated email and username to khulnasoft-bot.
  • +6/-6     
    mkdocs-dev.yaml
    Update MkDocs workflow to khulnasoft bot token                     

    .github/workflows/mkdocs-dev.yaml

  • Updated GitHub token secret from MKDOCS_AQUA_BOT to
    MKDOCS_KHULNASOFT_BOT.
  • +2/-2     
    dependabot.yml
    Update Dependabot configuration to khulnasoft                       

    .github/dependabot.yml

  • Updated dependency ignore patterns from aquasecurity to khulnasoft.
  • +2/-2     
    auto-update-labels.yaml
    Update auto-update-labels workflow to khulnasoft-installer

    .github/workflows/auto-update-labels.yaml

  • Updated GitHub Actions workflow to use khulnasoft-installer instead of
    aqua-installer.
  • Changed version key to khulnasoft_version.
  • +3/-3     
    Documentation
    38 files
    alpine.go
    Update Alpine detector for vendor change                                 

    pkg/detector/ospkg/alpine/alpine.go

    • Updated comment to reflect the new vendor khulnasoft.
    +1/-1     
    id.go
    Update dependency ID generator for vendor change                 

    pkg/dependency/id.go

    • Updated example module path from aquasecurity to khulnasoft.
    +1/-1     
    builtin-rules.go
    Update secret rules for vendor change                                       

    pkg/fanal/secret/builtin-rules.go

    • Updated comments to reflect the new vendor khulnasoft.
    +2/-2     
    scan.go
    Update local scanner for vendor change                                     

    pkg/scanner/local/scan.go

    • Updated comment to reflect the new vendor khulnasoft.
    +1/-1     
    scanner.go
    Update misconfiguration scanner for vendor change               

    pkg/misconf/scanner.go

    • Updated comment to reflect the new vendor khulnasoft.
    +1/-1     
    image.go
    Update image types for vendor change                                         

    pkg/fanal/types/image.go

    • Updated comment to reflect the new vendor khulnasoft.
    +1/-1     
    analyzer.go
    Update analyzer for vendor change                                               

    pkg/fanal/analyzer/analyzer.go

    • Updated comment to reflect the new vendor khulnasoft.
    +1/-1     
    sbom.md
    Update SBOM documentation to reflect new vendor name.       

    docs/docs/supply-chain/sbom.md

  • Changed vendor field from aquasecurity to khulnasoft.
  • Updated multiple name and value properties to reflect new vendor name.
  • Updated documentation examples to reflect vendor name change.
  • +34/-34 
    compare.md
    Update commercial comparison documentation to new vendor.

    docs/commercial/compare.md

  • Updated references from Aqua to Khulnasoft.
  • Changed comparison details to reflect new vendor name.
  • +13/-13 
    README.md
    Update README to reflect new vendor name and URLs.             

    README.md

  • Updated repository URLs from aquasecurity to khulnasoft.
  • Changed references from Aqua to Khulnasoft.
  • +13/-13 
    developer-guide.md
    Update plugin developer guide to reflect new vendor.         

    docs/docs/plugin/developer-guide.md

  • Updated repository URLs from aquasecurity to khulnasoft.
  • Changed example plugin repository references to new vendor.
  • +11/-11 
    self-hosting.md
    Update self-hosting documentation to reflect new vendor. 

    docs/docs/advanced/self-hosting.md

  • Updated media type and reference URLs from aquasecurity to khulnasoft.
  • Changed VEX Hub repository URLs to new vendor.
  • +8/-8     
    repo.md
    Update VEX repository documentation to new vendor.             

    docs/docs/supply-chain/vex/repo.md

  • Updated repository URLs from aquasecurity to khulnasoft.
  • Changed example outputs to reflect new vendor name.
  • +6/-6     
    home.html
    Update homepage quotes and references to new vendor.         

    docs/overrides/home.html

  • Updated quotes and references from Aqua to Khulnasoft.
  • Changed URLs in quotes to reflect new vendor.
  • +6/-6     
    user-guide.md
    Update plugin user guide references to khulnasoft               

    docs/docs/plugin/user-guide.md

  • Replaced references to aquasecurity with khulnasoft in plugin examples
    and installation commands.
  • +11/-11 
    index.md
    Update getting started guide references to khulnasoft       

    docs/getting-started/index.md

  • Updated integration links from aquasecurity to khulnasoft.
  • Changed social media and contact references to khulnasoft.
  • +8/-8     
    file.md
    Update VEX file references to khulnasoft                                 

    docs/docs/supply-chain/vex/file.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +4/-4     
    terminology.md
    Update terminology references to khulnasoft                           

    docs/docs/references/terminology.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +7/-7     
    rekor.md
    Update Rekor attestation references to khulnasoft               

    docs/docs/supply-chain/attestation/rekor.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +3/-3     
    aws-security-hub.md
    Update AWS Security Hub integration to khulnasoft               

    docs/tutorials/integrations/aws-security-hub.md

  • Updated ProductArn and repository URLs from aquasecurity to
    khulnasoft.
  • +3/-3     
    pr.md
    Update contribution guide references to khulnasoft             

    docs/community/contribute/pr.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +4/-4     
    principles.md
    Update community principles references to khulnasoft         

    docs/community/principles.md

    • Updated references from aquasecurity to khulnasoft.
    +6/-6     
    ide.md
    Update IDE ecosystem references to khulnasoft                       

    docs/ecosystem/ide.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +4/-4     
    index.md
    Update custom misconfiguration scanner references to khulnasoft

    docs/docs/scanner/misconfiguration/custom/index.md

    • Updated references from aquasecurity to khulnasoft.
    +1/-1     
    azure-devops.md
    Update Azure DevOps integration to khulnasoft                       

    docs/tutorials/integrations/azure-devops.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +3/-3     
    service-support.md
    Update service support contribution guide to khulnasoft   

    docs/community/contribute/checks/service-support.md

    • Updated example PR link from aquasecurity to khulnasoft.
    +1/-1     
    container_image.md
    Update container image references to khulnasoft                   

    docs/docs/target/container_image.md

    • Updated image references from aquasecurity to khulnasoft.
    +4/-4     
    backporting.md
    Update backporting guide to khulnasoft-bot                             

    docs/community/maintainer/backporting.md

    • Updated bot username from aqua-bot to khulnasoft-bot.
    +1/-1     
    compliance.md
    Update compliance documentation to khulnasoft                       

    docs/docs/compliance/compliance.md

    • Updated references from aquasecurity to khulnasoft.
    +1/-1     
    db.md
    Update database configuration references to khulnasoft     

    docs/docs/configuration/db.md

  • Updated AWS ECR repository URLs from aquasecurity to khulnasoft.
  • +1/-1     
    installation.md
    Update installation guide references to khulnasoft             

    docs/getting-started/installation.md

  • Updated container registry URLs from aquasecurity to khulnasoft.
  • +2/-2     
    modules.md
    Update advanced modules guide to khulnasoft                           

    docs/docs/advanced/modules.md

  • Updated module initialization and example links from aquasecurity to
    khulnasoft.
  • +2/-2     
    terraform.md
    Update Terraform misconfiguration tutorial to khulnasoft 

    docs/tutorials/misconfiguration/terraform.md

    • Updated references from aquasecurity to khulnasoft.
    +2/-2     
    faq.md
    Update FAQ references to khulnasoft                                           

    docs/getting-started/faq.md

    • Updated references from aquasecurity to khulnasoft.
    +2/-2     
    troubleshooting.md
    Update troubleshooting references to khulnasoft                   

    docs/docs/references/troubleshooting.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +2/-2     
    contrib-compliance.md
    Update compliance contribution guide to khulnasoft             

    docs/docs/compliance/contrib-compliance.md

    • Updated references from aquasecurity to khulnasoft.
    +1/-1     
    cicd.md
    Update CI/CD ecosystem references to khulnasoft                   

    docs/ecosystem/cicd.md

  • Updated repository URLs and references from aquasecurity to
    khulnasoft.
  • +2/-2     
    kubernetes.md
    Update Kubernetes target references to khulnasoft               

    docs/docs/target/kubernetes.md

  • Updated Kubernetes vulnerability database feed URL from aquasecurity
    to khulnasoft.
  • +1/-1     
    Miscellaneous
    15 files
    license-cyclonedx.json
    Update SBOM license data to khulnasoft                                     

    integration/testdata/fixtures/sbom/license-cyclonedx.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +10/-10 
    alpine-310.asff.golden
    Update ASFF golden files to khulnasoft                                     

    integration/testdata/alpine-310.asff.golden

    • Updated ProductArn from aquasecurity to khulnasoft.
    +4/-4     
    os-only-bom.json
    Update CycloneDX SBOM to khulnasoft                                           

    pkg/sbom/cyclonedx/testdata/happy/os-only-bom.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +8/-8     
    os-only-bom.json
    Update SBOM artifact to khulnasoft                                             

    pkg/fanal/artifact/sbom/testdata/os-only-bom.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +8/-8     
    pom-cyclonedx.json.golden
    Update CycloneDX POM data to khulnasoft                                   

    integration/testdata/pom-cyclonedx.json.golden

  • Changed group and property names from aquasecurity to khulnasoft.
  • +8/-8     
    empty-bom.json
    Update CycloneDX empty SBOM to khulnasoft                               

    pkg/sbom/cyclonedx/testdata/happy/empty-bom.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +6/-6     
    conda-cyclonedx.json.golden
    Update CycloneDX Conda data to khulnasoft                               

    integration/testdata/conda-cyclonedx.json.golden

  • Changed group and property names from aquasecurity to khulnasoft.
  • +6/-6     
    cyclonedx.json
    Update CycloneDX image data to khulnasoft                               

    pkg/fanal/artifact/image/testdata/cyclonedx.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +4/-4     
    cdx.json
    Update SBOM analyzer data to khulnasoft                                   

    pkg/fanal/analyzer/sbom/testdata/cdx.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +5/-5     
    conda-environment-cyclonedx.json.golden
    Update CycloneDX Conda environment data to khulnasoft       

    integration/testdata/conda-environment-cyclonedx.json.golden

  • Changed group and property names from aquasecurity to khulnasoft.
  • +5/-5     
    cert.pem
    Update certificate organization to khulnasoft                       

    integration/data/certs/cert.pem

  • Changed certificate organization from aquasecurity to khulnasoft.
  • +1/-1     
    group-in-name.json
    Update CycloneDX group-in-name data to khulnasoft               

    pkg/sbom/cyclonedx/testdata/happy/group-in-name.json

  • Changed group and property names from aquasecurity to khulnasoft.
  • +4/-4     
    secrets.asff.golden
    Update ASFF secrets golden files to khulnasoft                     

    integration/testdata/secrets.asff.golden

    • Updated ProductArn from aquasecurity to khulnasoft.
    +2/-2     
    csaf-relationships.json
    Update CSAF relationships to khulnasoft                                   

    pkg/vex/testdata/csaf-relationships.json

    • Changed PURL references from aquasecurity to khulnasoft.
    +2/-2     
    index.yaml
    Update plugin index to khulnasoft                                               

    pkg/plugin/testdata/.tunnel/plugins/index.yaml

  • Changed maintainer and repository references from aquasecurity to
    khulnasoft.
  • +5/-5     
    Dependencies
    13 files
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-local-path-and-version-mismatch/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-local-path-and-version/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-version-mismatch/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-local-path/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/go116/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-version/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.sum
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced/go.sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    sum
    Update Go module paths to khulnasoft                                         

    pkg/fanal/analyzer/language/golang/mod/testdata/merge/sum

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.mod
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-version-mismatch/go.mod

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.mod
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced-with-version/go.mod

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    mod
    Update Go module paths to khulnasoft                                         

    pkg/fanal/analyzer/language/golang/mod/testdata/happy/mod

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    go.mod
    Update Go module paths to khulnasoft                                         

    pkg/dependency/parser/golang/mod/testdata/replaced/go.mod

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    mod
    Update Go module paths to khulnasoft                                         

    pkg/fanal/analyzer/language/golang/mod/testdata/merge/mod

    • Changed module paths from aquasecurity to khulnasoft.
    +2/-2     
    Additional files (token-limit)
    5 files
    cloud.json
    ...                                                                                                           

    pkg/iac/rego/schemas/cloud.json

    ...

    +4073/-4073
    fluentd-multiple-lockfiles.cdx.json.golden
    ...                                                                                                           

    integration/testdata/fluentd-multiple-lockfiles.cdx.json.golden

    ...

    +1277/-1277
    tunnel_v1_homepage.scss
    ...                                                                                                           

    docs/assets/css/tunnel_v1_homepage.scss

    ...

    +1/-1     
    bitbucket.md
    ...                                                                                                           

    docs/tutorials/integrations/bitbucket.md

    ...

    +1/-1     
    plugin.yaml
    ...                                                                                                           

    pkg/plugin/testdata/.tunnel/plugins/test_plugin/plugin.yaml

    ...

    +1/-1     

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

    Copy link

    sourcery-ai bot commented Dec 4, 2024

    Reviewer's Guide by Sourcery

    This PR updates all references from 'aquasecurity' to 'khulnasoft' across the codebase, including package names, URLs, documentation, and configuration files. This is a large-scale renaming effort to align with the project's new organization name.

    No diagrams generated as the changes look simple and do not need a visual representation.

    File-Level Changes

    Change Details Files
    Update organization name references in Go package imports and module declarations
    • Replace 'github.com/aquasecurity' with 'github.com/khulnasoft' in import paths
    • Update module declarations in go.mod files
    • Update package references in test files
    pkg/dependency/parser/golang/mod/parse_testcase.go
    pkg/dependency/parser/golang/binary/parse_test.go
    pkg/fanal/analyzer/language/golang/mod/testdata/pkg/mod/github.com/khulnasoft/[email protected]/go.mod
    pkg/dependency/parser/golang/mod/testdata/replaced/go.mod
    Update organization name in documentation files
    • Replace organization references in markdown files
    • Update links to repositories and resources
    • Update product and company branding
    README.md
    docs/docs/advanced/self-hosting.md
    docs/docs/plugin/developer-guide.md
    docs/getting-started/installation.md
    docs/commercial/compare.md
    Update configuration and metadata files
    • Update vendor name in SBOM and CycloneDX files
    • Update organization references in GitHub workflow files
    • Update repository URLs in configuration files
    pkg/sbom/cyclonedx/marshal.go
    .github/workflows/roadmap.yaml
    .github/workflows/mkdocs-dev.yaml
    goreleaser.yml

    Tips and commands

    Interacting with Sourcery

    • Trigger a new review: Comment @sourcery-ai review on the pull request.
    • Continue discussions: Reply directly to Sourcery's review comments.
    • Generate a GitHub issue from a review comment: Ask Sourcery to create an
      issue from a review comment by replying to it.
    • Generate a pull request title: Write @sourcery-ai anywhere in the pull
      request title to generate a title at any time.
    • Generate a pull request summary: Write @sourcery-ai summary anywhere in
      the pull request body to generate a PR summary at any time. You can also use
      this command to specify where the summary should be inserted.

    Customizing Your Experience

    Access your dashboard to:

    • Enable or disable review features such as the Sourcery-generated pull request
      summary, the reviewer's guide, and others.
    • Change the review language.
    • Add, remove or edit custom review instructions.
    • Adjust other review settings.

    Getting Help

    Copy link

    coderabbitai bot commented Dec 4, 2024

    Important

    Review skipped

    More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

    92 files out of 180 files are above the max files limit of 75. Please upgrade to Pro plan to get higher limits.

    You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


    Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

    ❤️ Share
    🪧 Tips

    Chat

    There are 3 ways to chat with CodeRabbit:

    • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
      • I pushed a fix in commit <commit_id>, please review it.
      • Generate unit testing code for this file.
      • Open a follow-up GitHub issue for this discussion.
    • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
      • @coderabbitai generate unit testing code for this file.
      • @coderabbitai modularize this function.
    • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
      • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
      • @coderabbitai read src/utils.ts and generate unit testing code.
      • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
      • @coderabbitai help me debug CodeRabbit configuration file.

    Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

    CodeRabbit Commands (Invoked using PR comments)

    • @coderabbitai pause to pause the reviews on a PR.
    • @coderabbitai resume to resume the paused reviews.
    • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
    • @coderabbitai full review to do a full review from scratch and review all the files again.
    • @coderabbitai summary to regenerate the summary of the PR.
    • @coderabbitai resolve resolve all the CodeRabbit review comments.
    • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
    • @coderabbitai help to get help.

    Other keywords and placeholders

    • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
    • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
    • Add @coderabbitai anywhere in the PR title to generate the title automatically.

    CodeRabbit Configuration File (.coderabbit.yaml)

    • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
    • Please see the configuration documentation for more information.
    • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

    Documentation and Community

    • Visit our Documentation for detailed information on how to use CodeRabbit.
    • Join our Discord Community to get help, request features, and share feedback.
    • Follow us on X/Twitter for updates and announcements.

    Copy link

    codiumai-pr-agent-free bot commented Dec 4, 2024

    CI Failure Feedback 🧐

    (Checks updated until commit 107857a)

    Action: test-chart

    Failed stage: Run chart-testing [❌]

    Failed test name: helm/tunnel/values.yaml

    Failure summary:

    The action failed due to the following reasons:

  • The Helm chart linting for the chart tunnel failed because of formatting issues in the values.yaml
    file.
  • Specifically, there were errors indicating "too few spaces before comment" at lines 116 and 117.
  • Additionally, there was an unexpected input image provided to the action, which is not a valid input
    according to the action's configuration.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    222:  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.0/x64/lib
    223:  ##[endgroup]
    224:  ##[group]Run #!/bin/bash
    225:  �[36;1m#!/bin/bash�[0m
    226:  �[36;1m# cosign install script�[0m
    227:  �[36;1mshopt -s expand_aliases�[0m
    228:  �[36;1mif [ -z "$NO_COLOR" ]; then�[0m
    229:  �[36;1m  alias log_info="echo -e \"\033[1;32mINFO\033[0m:\""�[0m
    230:  �[36;1m  alias log_error="echo -e \"\033[1;31mERROR\033[0m:\""�[0m
    231:  �[36;1melse�[0m
    232:  �[36;1m  alias log_info="echo \"INFO:\""�[0m
    233:  �[36;1m  alias log_error="echo \"ERROR:\""�[0m
    ...
    
    251:  �[36;1m      ;;�[0m
    252:  �[36;1m    macOS)�[0m
    253:  �[36;1m      shasum -a256 $1 | cut -d' ' -f1�[0m
    254:  �[36;1m      ;;�[0m
    255:  �[36;1m    Windows)�[0m
    256:  �[36;1m      powershell -command "(Get-FileHash $1 -Algorithm SHA256 | Select-Object -ExpandProperty Hash).ToLower()"�[0m
    257:  �[36;1m      ;;�[0m
    258:  �[36;1m    *)�[0m
    259:  �[36;1m      log_error "unsupported OS Linux"�[0m
    ...
    
    289:  �[36;1m        fi�[0m
    290:  �[36;1m        ;;�[0m
    291:  �[36;1m�[0m
    292:  �[36;1m      ARM)�[0m
    293:  �[36;1m        bootstrap_filename='cosign-linux-arm'�[0m
    294:  �[36;1m        bootstrap_sha=${bootstrap_linux_arm_sha}�[0m
    295:  �[36;1m        desired_cosign_filename='cosign-linux-arm'�[0m
    296:  �[36;1m        if [[ v2.2.0 == 'v0.6.0' ]]; then�[0m
    297:  �[36;1m          log_error "linux-arm build not available at v0.6.0"�[0m
    ...
    
    299:  �[36;1m        fi�[0m
    300:  �[36;1m        ;;�[0m
    301:  �[36;1m�[0m
    302:  �[36;1m      ARM64)�[0m
    303:  �[36;1m        bootstrap_filename='cosign-linux-arm64'�[0m
    304:  �[36;1m        bootstrap_sha=${bootstrap_linux_arm64_sha}�[0m
    305:  �[36;1m        desired_cosign_filename='cosign-linux-arm64'�[0m
    306:  �[36;1m        if [[ v2.2.0 == 'v0.6.0' ]]; then�[0m
    307:  �[36;1m          log_error "linux-arm64 build not available at v0.6.0"�[0m
    308:  �[36;1m          exit 1�[0m
    309:  �[36;1m        fi�[0m
    310:  �[36;1m        ;;�[0m
    311:  �[36;1m�[0m
    312:  �[36;1m      *)�[0m
    313:  �[36;1m        log_error "unsupported architecture $arch"�[0m
    ...
    
    336:  �[36;1m        # v0.6.0 had different filename structures from all other releases�[0m
    337:  �[36;1m        if [[ v2.2.0 == 'v0.6.0' ]]; then�[0m
    338:  �[36;1m          desired_cosign_filename='cosign_darwin_arm64_0.6.0_darwin_arm64'�[0m
    339:  �[36;1m          desired_cosign_v060_signature='cosign_darwin_arm64_0.6.0_darwin_arm64.sig'�[0m
    340:  �[36;1m        fi�[0m
    341:  �[36;1m        ;;�[0m
    342:  �[36;1m�[0m
    343:  �[36;1m      *)�[0m
    344:  �[36;1m        log_error "unsupported architecture $arch"�[0m
    ...
    
    356:  �[36;1m        cosign_executable_name=cosign.exe�[0m
    357:  �[36;1m        # v0.6.0 had different filename structures from all other releases�[0m
    358:  �[36;1m        if [[ v2.2.0 == 'v0.6.0' ]]; then�[0m
    359:  �[36;1m          desired_cosign_filename='cosign_windows_amd64_0.6.0_windows_amd64.exe'�[0m
    360:  �[36;1m          desired_cosign_v060_signature='cosign_windows_amd64_0.6.0_windows_amd64.exe.sig'�[0m
    361:  �[36;1m        fi�[0m
    362:  �[36;1m        ;;�[0m
    363:  �[36;1m      *)�[0m
    364:  �[36;1m        log_error "unsupported architecture $arch"�[0m
    365:  �[36;1m        exit 1�[0m
    366:  �[36;1m        ;;�[0m
    367:  �[36;1m    esac�[0m
    368:  �[36;1m    ;;�[0m
    369:  �[36;1m  *)�[0m
    370:  �[36;1m    log_error "unsupported architecture $arch"�[0m
    ...
    
    377:  �[36;1m  SUDO=sudo�[0m
    378:  �[36;1mfi�[0m
    379:  �[36;1m�[0m
    380:  �[36;1mexpected_bootstrap_version_digest=${bootstrap_sha}�[0m
    381:  �[36;1mlog_info "Downloading bootstrap version '${bootstrap_version}' of cosign to verify version to be installed...\n      https://github.com/sigstore/cosign/releases/download/${bootstrap_version}/${bootstrap_filename}"�[0m
    382:  �[36;1m$SUDO curl -sL https://github.com/sigstore/cosign/releases/download/${bootstrap_version}/${bootstrap_filename} -o ${cosign_executable_name}�[0m
    383:  �[36;1mshaBootstrap=$(shaprog ${cosign_executable_name});�[0m
    384:  �[36;1mif [[ $shaBootstrap != ${expected_bootstrap_version_digest} ]]; then�[0m
    385:  �[36;1m  log_error "Unable to validate cosign version: 'v2.2.0'"�[0m
    ...
    
    392:  �[36;1m  log_info "bootstrap version successfully verified and matches requested version so nothing else to do"�[0m
    393:  �[36;1m  exit 0�[0m
    394:  �[36;1mfi�[0m
    395:  �[36;1m�[0m
    396:  �[36;1msemver='^v([0-9]+\.){0,2}(\*|[0-9]+)(-?r?c?)(\.[0-9]+)$'�[0m
    397:  �[36;1mif [[ v2.2.0 =~ $semver ]]; then�[0m
    398:  �[36;1m  log_info "Custom cosign version 'v2.2.0' requested"�[0m
    399:  �[36;1melse�[0m
    400:  �[36;1m  log_error "Unable to validate requested cosign version: 'v2.2.0'"�[0m
    ...
    
    554:  [notice] A new release of pip is available: 24.2 -> 24.3.1
    555:  [notice] To update, run: pip install --upgrade pip
    556:  Adding ct directory to PATH...
    557:  Setting CT_CONFIG_DIR...
    558:  Configuring environment variables for virtual environment for subsequent workflow steps...
    559:  Version:	 v3.10.1
    560:  Git commit:	 c35d32b568ba7901e00d3386a231ae2b6e1c2efc
    561:  Date:		 License:	 Apache 2.0
    562:  ##[warning]Unexpected input(s) 'image', valid inputs are ['version', 'config', 'node_image', 'cluster_name', 'wait', 'verbosity', 'kubectl_version', 'install_only', 'ignore_failed_clean']
    563:  ##[group]Run helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde
    564:  with:
    565:  version: v0.14.0
    566:  image: kindest/node:v1.23.6@sha256:b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae
    567:  cluster_name: chart-testing
    568:  wait: 60s
    569:  verbosity: 0
    570:  kubectl_version: v1.29.3
    571:  ignore_failed_clean: false
    ...
    
    639:  Charts to be processed:
    640:  ------------------------------------------------------------------------------------------------------------------------
    641:  tunnel => (version: "0.9.0", path: "helm/tunnel")
    642:  ------------------------------------------------------------------------------------------------------------------------
    643:  Linting chart "tunnel => (version: \"0.9.0\", path: \"helm/tunnel\")"
    644:  Validating /home/runner/work/tunnel/tunnel/helm/tunnel/Chart.yaml...
    645:  Validation success! 👍
    646:  ##[group]helm/tunnel/values.yaml
    647:  ##[error]116:15 [comments] too few spaces before comment
    648:  ##[error]117:15 [comments] too few spaces before comment
    649:  ##[endgroup]
    650:  ------------------------------------------------------------------------------------------------------------------------
    651:  ✖︎ tunnel => (version: "0.9.0", path: "helm/tunnel") > failed waiting for process: exit status 1
    652:  ------------------------------------------------------------------------------------------------------------------------
    653:  failed linting and installing charts: failed processing charts
    654:  Error: failed linting and installing charts: failed processing charts
    655:  ##[error]Process completed with exit code 1.
    656:  ##[warning]Unexpected input(s) 'image', valid inputs are ['version', 'config', 'node_image', 'cluster_name', 'wait', 'verbosity', 'kubectl_version', 'install_only', 'ignore_failed_clean']
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    @sourcery-ai sourcery-ai bot left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    We have skipped reviewing this pull request. It seems to have been created by a bot (hey, khulnasoft-bot!). We assume it knows what it's doing!

    @khulnasoft-bot khulnasoft-bot merged commit 9f77a4f into main Dec 4, 2024
    18 of 28 checks passed
    Copy link

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 PR contains tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Code Consistency
    The git username is hardcoded as 'fanal-khulnasoft-scan'. Consider making this configurable or using a more generic name that doesn't need to change with vendor name changes.

    Copy link

    PR Code Suggestions ✨

    No code suggestions found for the PR.

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

    Successfully merging this pull request may close these issues.

    1 participant