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

Adds argument to print vdb metadata #180

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

prabhu
Copy link
Contributor

@prabhu prabhu commented Jul 16, 2024

python vdb/cli.py --print-vdb-metadata

             ___
  /\  ._  ._  | |_  ._ _   _. _|_
 /--\ |_) |_) | | | | (/_ (_|  |_
      |   |

                            VDB Summary
┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Property          ┃ Value                                       ┃
┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ created_utc       │ 2024-07-16T18:08:18+00:00                   │
├───────────────────┼─────────────────────────────────────────────┤
│ cve_data_count    │ 383611                                      │
├───────────────────┼─────────────────────────────────────────────┤
│ cve_index_count   │ 474004                                      │
├───────────────────┼─────────────────────────────────────────────┤
│ sources           │ ['AquaSource', 'OSVSource', 'GitHubSource'] │
├───────────────────┼─────────────────────────────────────────────┤
│ app_only          │ True                                        │
├───────────────────┼─────────────────────────────────────────────┤
│ start_year        │ 2018                                        │
├───────────────────┼─────────────────────────────────────────────┤
│ github_page_count │ 30                                          │
└───────────────────┴─────────────────────────────────────────────┘
             Metadata file: /Volumes/Work/vdb/vdb.meta

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit e0e3ec8 into master Jul 16, 2024
12 checks passed
@prabhu prabhu deleted the feature/print-vdb-metadata branch July 16, 2024 21:21
@prabhu
Copy link
Contributor Author

prabhu commented Jul 16, 2024

python vdb/cli.py --download-full-image

             ___
  /\  ._  ._  | |_  ._ _   _. _|_
 /--\ |_) |_) | | | | (/_ (_|  |_
      |   |

INFO [2024-07-16 22:28:50,990] Downloading vdb image from ghcr.io/appthreat/vdbxz:v6 to /Volumes/Work/vdb
                            VDB Summary
┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Property          ┃ Value                                       ┃
┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ created_utc       │ 2024-07-16T18:22:23+00:00                   │
├───────────────────┼─────────────────────────────────────────────┤
│ cve_data_count    │ 2275176                                     │
├───────────────────┼─────────────────────────────────────────────┤
│ cve_index_count   │ 2360153                                     │
├───────────────────┼─────────────────────────────────────────────┤
│ sources           │ ['AquaSource', 'OSVSource', 'GitHubSource'] │
├───────────────────┼─────────────────────────────────────────────┤
│ start_year        │ 2018                                        │
├───────────────────┼─────────────────────────────────────────────┤
│ github_page_count │ 10                                          │
└───────────────────┴─────────────────────────────────────────────┘
             Metadata file: /Volumes/Work/vdb/vdb.meta

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