-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: apply feedback to vulnerability docs
- Loading branch information
1 parent
c798ade
commit 46ebc2e
Showing
6 changed files
with
71 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 11 additions & 10 deletions
21
docs/howtoguides/how_to_use_manifest_file_for_pro_vulnerability.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
How to provide a manifest file to pro vulnerability commands | ||
************************************************************ | ||
|
||
If you want to provide a manifest file to either ``pro vulnerability show`` or | ||
``pro vulnerability list``, you can use the flag ``--manifest-file``. For example: | ||
Let's assume that you want to verify the vulnerability situation of a different | ||
machine than the one you are using. You can achieve that by providing a **manifest file** | ||
to either ``pro vulnerability show`` or ``pro vulnerability list`` by providing the flag ``--manifest-file``. For example: | ||
|
||
.. code-block:: bash | ||
pro vulnerability list --manifest-file=MANIFEST_FILE_PATH | ||
Now, be aware that when providing a manifest file to either of the commands, we will | ||
interpret that the manifest file was generated for the **same** ubuntu release the | ||
the machine is running on. For example, if you are running on the command on Xenial | ||
machine and provides a manifest for the command, the command will believe that the | ||
manifest also represents a Xenial machine. If that is not the case, you **need** to | ||
provide the ``--series`` parameter to the command as well, to provide the command | ||
with the ubuntu release the manifest was generated on, for example: | ||
When providing a manifest file to either of the commands, it is assumed | ||
that the manifest file was generated for the **same** Ubuntu series the | ||
the machine is running on. For example, if you run the command on a Xenial | ||
machine, and provide a manifest file for the command, the command will assume that the | ||
manifest also represents a Xenial machine. If that is not the case, you must | ||
provide the ``--series`` parameter to the command as well, to provide the Ubuntu series the | ||
manifest was generated on, for example: | ||
|
||
.. code-block:: bash | ||
pro vulnerability list --manifest-file=MANIFEST_FILE_PATH --series=focal | ||
Finally, today we only support the manifest file generated by the Pro client. This | ||
Currently, we only support manifest files generated by the Pro Client. This | ||
manifest file can be generated by using the | ||
:ref:`package_manifest<references/api:u.security.package_manifest.v1>` API endpoint. |