<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Application Protector Java Container on</title><link>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/</link><description>Recent content in Application Protector Java Container on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/protectors/10.1/docs/apjava_container/index.xml" rel="self" type="application/rss+xml"/><item><title>Running Security Operations</title><link>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_running_security_operations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_running_security_operations/</guid><description>&lt;p>This section describes how you can use the Sample Application instances running on the Kubernetes cluster to protect the data that is sent by a REST API client.&lt;/p>
&lt;p>To run security operations:&lt;/p>
&lt;ol>
&lt;li>Send the following CURL request from the Linux instance.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>curl --location --request POST &amp;#39;http://&amp;lt;DNS name or IP address of the Load Balancer&amp;gt;:8080/protect&amp;#39; --header &amp;#39;Content-Type: application/json&amp;#39; --header &amp;#39;X-Correlation-ID: k81d1fae-7dec-41g0-a765-90a0c31e6wf5&amp;#39; --data-raw &amp;#39;{ &amp;#34;dataElement&amp;#34;: &amp;#34;Alphanum&amp;#34;, &amp;#34;policyUser&amp;#34;: &amp;#34;user1&amp;#34;, &amp;#34;input&amp;#34;: [ &amp;#34;protegrity1234&amp;#34;,&amp;#34;helloworld&amp;#34; ] }&amp;#39; -v
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The Application Protector Java Container instance returns the following protected output.&lt;/p></description></item><item><title>Upgrading the Protector from Version 9.x to 10.x</title><link>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_upgrading_from_9.x_10.x/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_upgrading_from_9.x_10.x/</guid><description>&lt;p>This section explains the steps and procedure to upgrade the Application Java Container protector from version 9.x to 10.x. This method is used for a major release upgrade. For example, this upgrade procedure is used in case of architectural changes.&lt;/p>
&lt;h2 id="upgrade-approach">Upgrade Approach&lt;/h2>
&lt;p>The 9.x and 10.x versions include different components and resource requirements as part of the deployment. As a result, the approach uses the following steps:&lt;/p>
&lt;ul>
&lt;li>Create a 10.x setup in a different namespace.&lt;/li>
&lt;li>Run test traffic to the 10.x setup to verify that the security operations are working.&lt;/li>
&lt;li>Stop the traffic to the 9.x setup and make changes to point the traffic to the 10.x setup.&lt;/li>
&lt;li>Switch the production traffic from the 9.x deployment to the 10.x deployment.&lt;/li>
&lt;/ul>
&lt;h2 id="before-you-begin">Before you begin&lt;/h2>
&lt;ul>
&lt;li>Ensure that you have access to the Kubernetes cluster with appropriate permissions. For more information about the required permissions, refer to the section &lt;a href="https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_system_requirements/iap_java_verifying_the_prereq_/">Software Requirements&lt;/a>.&lt;/li>
&lt;li>Ensure that you have a separate directory structure for the 9.x and 10.x deployments.&lt;/li>
&lt;li>Ensure that your container logs are accessible. These can be used to verify the deployment.&lt;/li>
&lt;li>Ensure that the Container images for 10.x version are uploaded in the Container registry.&lt;/li>
&lt;li>Ensure that the protector pods for the 9.x version are running and are in a healthy state.&lt;/li>
&lt;li>Ensure that the required security policy is available on the 10.x ESA.&lt;/li>
&lt;/ul>
&lt;h2 id="upgrading-the-protector-in-dynamic-mode">Upgrading the Protector in Dynamic Mode&lt;/h2>
&lt;p>Perform the following steps to upgrade the protector from 9.x to 10.x in dynamic mode.&lt;/p></description></item><item><title>Upgrading the Protector from Version 10.x to 10.y</title><link>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_upgrading_from_10.x_10.y/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_upgrading_from_10.x_10.y/</guid><description>&lt;p>This section explains the steps and procedure for performing a rolling upgrade and roll back on a Kubernetes deployment consisting of pods. This method is useful for maintenance releases such as bug fixes and CVE updates. In this method, the protector is upgraded from version 10.x to version 10.y.&lt;/p>
&lt;h3 id="before-you-begin">Before you begin&lt;/h3>
&lt;ul>
&lt;li>Ensure that you have access to the Kubernetes cluster with appropriate permissions. For more information about the required permissions, refer to the section &lt;a href="https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_system_requirements/iap_java_verifying_the_prereq_/">Software Requirements&lt;/a>.&lt;/li>
&lt;li>Ensure that you have a separate directory structure for the 10.x and 10.y deployments.&lt;/li>
&lt;li>Ensure that your container logs are accessible. These can be used to verify the deployment.&lt;/li>
&lt;li>Ensure that the Container images for 10.y version are uploaded in the Container registry.&lt;/li>
&lt;li>Ensure that the protector pods for the 10.x version are running and are in a healthy state.&lt;/li>
&lt;li>Ensure that the required security policy is available on the 10.y ESA.&lt;/li>
&lt;/ul>
&lt;h2 id="rolling-upgrade-steps-for-dynamic-deployment">Rolling Upgrade Steps for Dynamic Deployment&lt;/h2>
&lt;p>This section explains how to perform a rolling upgrade for dynamic deployment.&lt;/p></description></item><item><title>Using Dockerfiles to Build Custom Images</title><link>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_using_dockerfiles_for_custom_images/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_using_dockerfiles_for_custom_images/</guid><description>&lt;p>Protegrity base images use the default RHEL Universal Base Image. Using Dockerfiles, you can use a base image of your choice.&lt;/p>
&lt;p>To create custom image:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Download the installation package.&lt;/p>
&lt;p>For more information about downloading the installation package, refer to the section &lt;a href="https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_preparing_environment/iap_java_extracting_package/">Extracting the Installation Package&lt;/a>.&lt;/p>
&lt;p>&lt;strong>Important:&lt;/strong> The dependency packages required for building the Docker images are specified in the &lt;strong>HOW-TO-BUILD&lt;/strong> file, which is a part of the installation package. You must ensure that these dependency packages can be downloaded either from the Internet or from your internal repository.&lt;/p></description></item><item><title>Appendix - Deploying the Helm Charts by Using the Set Argument</title><link>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_using_set_arguments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.1/docs/apjava_container/iap_java_using_set_arguments/</guid><description>&lt;p>To deploy Helm charts using the &lt;em>set&lt;/em> argument:&lt;/p>
&lt;ol>
&lt;li>Navigate to the directory where you have stored the &lt;em>values.yaml&lt;/em> file for deploying the corresponding Helm chart.&lt;/li>
&lt;li>Deploy the Helm chart using the following command.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span> helm install &amp;lt;name for this helm deployment&amp;gt; &amp;lt;Location of the directory that contains the Helm chart&amp;gt; -n &amp;lt;Namespace&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> --set &amp;lt;tag 1&amp;gt;=&amp;#34;Value 1&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> --set &amp;lt;tag 2&amp;gt;=&amp;#34;Value 2&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> --set &amp;lt;tag 3&amp;gt;=&amp;#34;Value 3&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> --set &amp;lt;tag 4&amp;gt;=&amp;#34;Value 4&amp;#34;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>For example&lt;/strong>:&lt;/p></description></item></channel></rss>