Skip to content

Commit

Permalink
Merge pull request openshift#13280 from jboxman/proofing3
Browse files Browse the repository at this point in the history
Minor content fixes
  • Loading branch information
jboxman authored Jan 14, 2019
2 parents 60c84b2 + d822269 commit be479be
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions security/container_content.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Applications and infrastructures are composed of readily available components,
many of which are open source packages such as, the Linux operating system,
JBoss Web Server, PostgreSQL, and Node.js.

Containerized versions of these packages are also available, However, you need
Containerized versions of these packages are also available. However, you need
to know where the packages originally came from, who built them, and whether
there is any malicious code inside them.

Expand Down Expand Up @@ -165,11 +165,12 @@ The `summary` field must adhere to the following format:
|Field |Description |Type

|`label`
|Display label for component (e.g., "critical", "important", "moderate", "low" or "health")
|Display label for component (for example, "critical," "important," "moderate,"
"low," or "health")
|String

|`data`
|Data for this component (e.g., count of vulnerabilities found or score)
|Data for this component (for example, count of vulnerabilities found or score)
|String

|`severityIndex`
Expand Down Expand Up @@ -277,18 +278,18 @@ annotations:
=== Integration Reference

In most cases, external tools such as vulnerability scanners will develop a
script or plug-in that watches for image updates, performs scanning and annotate
the associated image object with the results. Typically this automation calls
the {product-title} REST API to write the annotation. See
script or plug-in that watches for image updates, performs scanning, and
annotates the associated image object with the results. Typically this
automation calls the {product-title} REST API to write the annotation. See
xref:../rest_api/index.adoc#rest-api-index[REST API Reference] for general
information on the REST API and `PATCH` call to update images.

[[security-integration-reference-example-api-call]]
==== Example REST API Call

This example call using `curl` will overwrite the value of the annotation. Be
sure to replace the values for `<token>`, `<openshift_server>`, `<image_id>`, and
`<image_annotation>`.
The following example call using `curl` overrides the value of the
annotation. Be sure to replace the values for `<token>`, `<openshift_server>`,
`<image_id>`, and `<image_annotation>`.

.Patch API Call
----
Expand All @@ -299,7 +300,7 @@ $ curl -X PATCH \
--data '{ <image_annotation> }'
----

Below is example `PATCH` payload data.
The following is an example of `PATCH` payload data:

.Patch Call Data
----
Expand Down

0 comments on commit be479be

Please sign in to comment.