Skip to content

Commit

Permalink
docs: fix spelling errors and update custom wordlist
Browse files Browse the repository at this point in the history
Signed-off-by: Renan Rodrigo <[email protected]>
  • Loading branch information
renanrodrigo committed Dec 4, 2023
1 parent d27c46b commit b1f2aa3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
11 changes: 11 additions & 0 deletions custom_wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
AdditionalData
airgapped
Airgapping
amd
Expand Down Expand Up @@ -25,6 +26,7 @@ cron
CTRL
cve
CVE
CVEAPIFixExecuteResult
CVEFixPlanResult
cves
CVEs
Expand All @@ -39,10 +41,14 @@ EnabledService
enablement
esm
ESM
FailedUpgrade
fips
FIPS
firewalled
Firewalled
FixExecuteError
FixExecuteResult
FixExecuteUSNResult
FixPlanError
FixPlanResult
FixPlanStep
Expand Down Expand Up @@ -74,7 +80,9 @@ motd
MOTD
Multipass
NoOp
NoOpAlreadyFixed
NoOpData
NoOpLivepatchFixData
num
PackageCannotBeInstalledData
PackageSummary
Expand Down Expand Up @@ -115,9 +123,12 @@ un
unparsed
UpdateInfo
UpdateSummary
UpgradedPackage
usg
USG
usn
usns
USNAPIFixExecuteResult
USNFixPlanResult
USNs
usr
Expand Down
18 changes: 9 additions & 9 deletions docs/references/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -699,13 +699,13 @@ This endpoint fixes the specified CVEs on the machine.
- *str*
- The status of fixing the CVE
* - ``upgraded_packages``
- *List[UpgradedPackages]*
- A list of UpgradedPackages objects
- *List[UpgradedPackage]*
- A list of UpgradedPackage objects
* - ``error``
- *Optional[FixExecuteError]*
- A FixExecuteError object

- ``uaclient.api.u.pro.security.fix.common.execute.v1.UpgradedPackages``
- ``uaclient.api.u.pro.security.fix.common.execute.v1.UpgradedPackage``

.. list-table::
:header-rows: 1
Expand Down Expand Up @@ -850,7 +850,7 @@ This endpoint fixes the specified CVEs on the machine.
prevents any required packages from being upgraded. The system
is considered **not-affected** if the CVE doesn't affect the system at all.
* **upgraded_packages**: A list of UpgradedPackage objects referencing each package
that was upgraded during the fix operation. The UpgradePackage object always contain
that was upgraded during the fix operation. The UpgradedPackage object always contain
the **name** of the package, the **version** it was upgraded to and the **pocket** where
the package upgrade came from.

Expand Down Expand Up @@ -965,13 +965,13 @@ This endpoint fixes the specified USNs on the machine.
- *str*
- The status of fixing the USN
* - ``upgraded_packages``
- *List[UpgradedPackages]*
- A list of UpgradedPackages objects
- *List[UpgradedPackage]*
- A list of UpgradedPackage objects
* - ``error``
- *Optional[FixExecuteError]*
- A FixExecuteError object

- ``uaclient.api.u.pro.security.fix.common.execute.v1.UpgradedPackages``
- ``uaclient.api.u.pro.security.fix.common.execute.v1.UpgradedPackage``

.. list-table::
:header-rows: 1
Expand Down Expand Up @@ -1094,7 +1094,7 @@ This endpoint fixes the specified USNs on the machine.
* **status**: The status of the fix operation considering **all** USNs.
This means that if one USN cannot be fixed, this field will reflect that.
Note that related USNs don't interfere with this attribute, meaning
that a related USN can fail to be fixed without modyfing the **status**
that a related USN can fail to be fixed without modifying the **status**
value.

Each **usn** object contains a reference for both **target_usn** and **related_usns**.
Expand All @@ -1116,7 +1116,7 @@ This endpoint fixes the specified USNs on the machine.
prevents any required packages from being upgraded. The system
is considered **not-affected** if the USN doesn't affect the system at all.
* **upgraded_packages**: A list of UpgradedPackage objects referencing each package
that was upgraded during the fix operation. The UpgradePackage object always contain
that was upgraded during the fix operation. The UpgradedPackage object always contain
the **name** of the package, the **version** it was upgraded to and the **pocket** where
the package upgrade came from.

Expand Down

0 comments on commit b1f2aa3

Please sign in to comment.