Lineaje Learning Center
  • About Lineaje
  • Lineaje Product Offering
  • Getting started
    • Create an account
      • Configure Azure AD for sso
      • Configure Okta for sso
    • Onboarding workflow
  • SBOM360, OSM
    • Generate an SBOM
      • Source Code Management (SCM) As Source
        • Public Code Repositories
        • Private Code Repositories
          • Configure GitHub credentials
          • Configure Bitbucket credentials
          • Configure Gitlab credentials
          • Configure Git credentials
          • Configure Azure Repo
        • Frequently Asked Questions
      • Container Image As Source
        • Public Container Image
        • Private Container Image
          • Configure AWS Elastic Container Registry
          • Configure Google Container Registry
          • Configure Docker Hub
          • Configure Generic OCI Registry
          • Configure Azure Container Registry
        • Frequently Asked Questions
      • Existing SBOM As Source
        • EO 14028 checks
      • Manifest file As Source
      • Android Package Kit (APK)
      • Using Lineaje CLI
    • Explore Your SBOM
      • Info
      • Attestation
      • IRL
      • Dependencies
      • Provenance
      • Vulnerabilities
      • Mitigations
      • Security Posture
      • Code Quality
      • Suppliers & Licenses
      • Findings
    • Manage Your SBOM
    • Dashboard
    • Search
    • Policies and Gates
    • Organization and User Management
      • Organization example
    • Lineaje AI
    • AI Plan and AI Remediate
      • JIRA Integration
  • SBOM360 Hub
    • My Products
    • My SBOMS
    • Find & Review SBOMs
    • Manage Your Repository
    • Request and Share SBOMS
    • Settings
    • User Roles
  • Lineaje CLI
    • System Configuration
    • Toolset Configuration
    • CLI Installation
    • CLI Usage
    • Troubleshooting CLI issues
    • Support matrix
  • Integration with CICD pipeline
    • Pre-Requisites
    • Generate Project from source code
      • Project creation using Lineaje cloud
  • Abbreviations and Descriptions
  • Release Notes
    • Unified Scanner for AWS
Powered by GitBook
On this page
  • How to search for components?
  • Scope of search
  • Viewing search results
  • Save Search
  • Export search as csv
  1. SBOM360, OSM

Search

PreviousDashboardNextPolicies and Gates

Last updated 1 year ago

Search page allows you to search components meeting specific criteria.

How to search for components?

Two types of search queries are supported

Search powered by AI

Search powered by AI accepts English query strings and gives the results.IN the Search bar, the default option is always the AI powered search.

Serach queries can be a complex query involving multiple conditions.

Few examples of search queries are:

  • Components with Critical or High Vulnerabilities that are exploitable

  • Components released after Ukraine war

  • Components with license MIT or Apache 2.0

  • OSS Components with Critical or High Vulnerabilities

Search powered by GraphQL (GQL)

The search bar supports a switch from prompt (English query) to GQL. A GQL provides a way to fine tune the results of a query.

GQL for the AI powered query - "Components with critical vulnerabilities" is shown below

    query ComponentSearch(
      $tenantId: String!
      $scope:String
      $sort: JSON
      $aggregation: JSON
      $page: Int
      $queryString: String
      $queryType: String 
      $limit: Int
    ) {
      componentSearch: componentSearchAdHocV2(
        tenantId: $tenantId
        scope:$scope
        aggregation: $aggregation
        sort: $sort
        page: $page
        queryType: $queryType
        limit: $limit
        queryString:$queryString
      )
    }  

Scope of search

The scope of search determines the result. There are two scopes supported:

My projects

My projects scope allows you to search all components that are used within your projects. These components can be open source, private, third party and any unknown components. The search is performed across all the projects (SBOMs) created in the tenant across all organizations. The search is restricted to your tenant's data.

Open Source

Open Source scope allows you to search for open source components. Lineaje cloud runs a crawler that creates SBOMs for open source components. The search is performed on the open source components database that is shared across all tenants. This search does not include any private projects.

Viewing search results

There are two views provided in search results

Table view

The table view lists down the results in a table view. The table view lists down columns that are determined, best match, based on the query context.

The column option can be used to view additional columns. The filters can be used to query for specific data.

Clicking on any row in the table takes you to the corresponding component view.

Git-Card view

The git-card view lists down the results in a card view. The git-card view lists down data that are determined, best match, based on the query context.

The column option can be used to view additional columns. The filters can be used to query for specific data.

Save Search

A search can be saved. The saved search will be listed in "Saved List". The saved search will be visible for all users in the tenant.

Export search as csv

The search results can be exported as a csv. The search results may vary from few to several hundred or thousands. So exporting search is an asynchronous call. A background job gathers the results, prepares a csv and notifies in the notification icon (bell icon) as well as an email is sent when the data is ready.