<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Additional Topics on</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/</link><description>Recent content in Additional Topics on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/index.xml" rel="self" type="application/rss+xml"/><item><title>Memory Usage of the AP .Net</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/memory_usage_apdotnet/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/memory_usage_apdotnet/</guid><description>&lt;h2 id="using-the-sample-net-application-to-test-memory-usage-for-policies">Using the Sample .Net Application to Test Memory Usage for Policies&lt;/h2>
&lt;p>This article provides information about memory requirements of the AP .Net. A sample .Net application is provided below. It can be used to test the memory requirements of policies of various sizes. Results of that testing are based on the memory usage of a single instance of a .Net process, excluding LogForwarder and RP Agent.&lt;/p>
&lt;h2 id="sample-application">Sample application&lt;/h2>
&lt;p>The following is a sample .Net application.&lt;/p></description></item><item><title>Setting Up AP .Net Mock on Windows in a Development Environment</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_dot_net_dev_env/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_dot_net_dev_env/</guid><description>&lt;p>This section describes how to install Application Protector (AP) .Net on a Windows platform for development purposes.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: The Log Forwarder and RP Agent should not be installed in a development environment.&lt;/p>&lt;/blockquote>
&lt;h2 id="verifying-prerequisites">Verifying prerequisites&lt;/h2>
&lt;p>Ensure that the following prerequisites are met:&lt;/p>
&lt;ul>
&lt;li>A supported version of .NET Standard 2.0 is installed on the machine.&lt;/li>
&lt;/ul>
&lt;h2 id="extracting-the-ap-net-setup-scripts-and-package">Extracting the AP .Net Setup Scripts and Package&lt;/h2>
&lt;p>To extract the setup scripts and package:&lt;/p>
&lt;ol>
&lt;li>Download the &lt;code>ApplicationProtector_WIN-ALL-64_x86-64_NET-STD-2.0-64_&amp;lt;version&amp;gt;.zip&lt;/code> file to any location on the machine where you want to install the protector.&lt;/li>
&lt;li>Extract the contents of the &lt;code>ApplicationProtector_WIN-ALL-64_x86-64_NET-STD-2.0-64_&amp;lt;version&amp;gt;.zip&lt;/code> file.&lt;br>
The following setup files are extracted:
&lt;ul>
&lt;li>&lt;code>ApplicationProtector_WIN-ALL-64_x86-64_NET-STD-2.0-64_&amp;lt;version&amp;gt;.zip&lt;/code>&lt;/li>
&lt;li>&lt;code>signatures/ApplicationProtector_WIN-ALL-64_x86-64_NET-STD-2.0-64_&amp;lt;version&amp;gt;.zip_10.0.sig&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Verify the digital signature of the signed AP .Net build. &lt;br>
For more information about verifying the signed AP .Net build, refer to &lt;a href="https://docs.protegrity.com/protectors/10.0/docs/verification_of_signed_artifacts/#:~:text=Copy-,Verifying%20the%20signed%20protector%20build%20on%20the%20Windows%20platform,-The%20digital%20signature">Verification of Signed Protector Build&lt;/a>.&lt;/li>
&lt;li>Extract the contents of the AP .Net installation package again.&lt;br>
The following setup files are extracted:
&lt;ul>
&lt;li>&lt;code>LogforwarderSetup_Windows_x64_&amp;lt;version&amp;gt;.exe&lt;/code>&lt;/li>
&lt;li>&lt;code>RPAgentSetup_Windows_x64_&amp;lt;version&amp;gt;.exe&lt;/code>&lt;/li>
&lt;li>&lt;code>APDotNetSetup_Windows_x64_&amp;lt;version&amp;gt;.exe&lt;/code>&lt;/li>
&lt;li>&lt;code>APDotNetMockSetup_Windows_x64_&amp;lt;version&amp;gt;.exe&lt;/code>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;h2 id="installing-ap-net-mock-on-windows-in-a-development-environment">Installing AP .Net Mock on Windows in a Development Environment&lt;/h2>
&lt;p>This section describes how to install AP .Net Mock on a Windows platform for development purposes.&lt;/p></description></item><item><title>DevOps Approach for Application Protector</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/devops_ap_common/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/devops_ap_common/</guid><description>&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: The DLL file creation is supported only by &lt;strong>.NET Core 8.0&lt;/strong> and &lt;strong>.NET Core 9.0&lt;/strong>. The .NET application can be run by using any supported versions.&lt;/p>&lt;/blockquote>
&lt;p>The DevOps approach enables immutable package deployment. It uses a REST API call to download packages from the ESA in an encrypted format.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: The RP Agent should not be installed for immutable package deployments using DevOps.&lt;/p>&lt;/blockquote>
&lt;p>For more information about package deployment approaches, refer to &lt;a href="https://docs.protegrity.com/10.2/docs/pmg/pmg_policy_management_in_protector/#:~:text=protectors%20and%20later.-,Resilient%20Package%20Deployment,-A%20number%20of">Resilient Package Deployment&lt;/a>.&lt;/p></description></item><item><title>Application Protector API Return Codes</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_return_codes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_return_codes/</guid><description>&lt;p>When an application is developed using the APIs of the Protegrity Application Protector Suite, you may encounter the Application Protector API Return Codes.
For more information about log return codes, refer to &lt;a href="https://docs.protegrity.com/10.0/docs/troubleshooting/iag_log_return_codes/">Log return codes&lt;/a>.&lt;/p>
&lt;h2 id="sample-log-for-ap-return-codes">Sample Log for AP Return Codes&lt;/h2>
&lt;p>The following is a sample log generated in &lt;strong>Discover&lt;/strong> on the &lt;strong>Audit Store Dashboards&lt;/strong> in ESA.&lt;/p>
&lt;p>&lt;img src="https://docs.protegrity.com/protectors/10.0/docs/images/ap/ap_sample_log_return_code.png" alt="Sample log for AP return codes">&lt;/p>
&lt;p>Protection audit logs are stored in the &lt;strong>Audit Store&lt;/strong>. Select the &lt;code>pty_insight_*audit*&lt;/code> index to view the protection logs.&lt;/p></description></item><item><title>Config.ini file for Application Protector</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_config_file/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_config_file/</guid><description>&lt;p>The Application Protector can be configured using the &lt;code>config.ini&lt;/code> file. By default, this file is located in the &lt;em>&amp;lt;installation directory&amp;gt;/sdk/&amp;lt;protector&amp;gt;/data/&lt;/em> directory.&lt;/p>
&lt;p>The various configurations required for setting up the Application Protector are described in this section.&lt;/p>
&lt;h2 id="sample-configini-file">Sample config.ini file&lt;/h2>
&lt;p>The following represents a sample &lt;code>config.ini&lt;/code> file.&lt;/p>
&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># -----------------------------
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Protector configuration
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># ----------------------------- 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[protector]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Cadence determines how often the protector connects with shared memory to fetch the policy updates in background.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Default is 60 seconds. So by default, every 60 seconds protector tries to fetch the policy updates.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>#
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Default 60.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>cadence = 60
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># The time during which a session object is valid. Default = 15 minutes.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>session.sessiontimeout = 15
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>###############################################################################
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Log Provider Config
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>###############################################################################
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>[log]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># In case that connection to fluent-bit is lost, set how audits/logs are handled
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># drop : (default) Protector throws logs away if connection to the fluentbit is lost
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># error : Protector returns error without protecting/unprotecting 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># data if connection to the fluentbit is lost
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>mode = drop
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Host/IP to fluent-bit where audits/logs will be forwarded from the protector
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>#
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span># Default localhost
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>host = localhost
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="different-configurations-for-application-protector">Different configurations for Application Protector&lt;/h2>
&lt;p>The following are the various configurations:&lt;/p></description></item><item><title>Multi-node Application Protector Architecture</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_multinode_arch/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/ap_multinode_arch/</guid><description>&lt;p>The multi-node Application Protector (AP) architecture, its individual components, and how logs are collected using the Log Forwarder are described in this section.&lt;/p>
&lt;p>The following figure describes the multi-node AP architecture.&lt;/p>
&lt;p>&lt;img src="https://docs.protegrity.com/protectors/10.0/docs/images/ap/multi-node_sdk_arch.png" alt="Multi-node AP architecture">&lt;/p>
&lt;p>For example, some AP nodes are connected to an ESA, which includes the Audit Store component. Each AP node contains a Log Forwarder, RP Agent, and AP instance for sending logs to the ESA.&lt;/p>
&lt;p>&lt;strong>Protector&lt;/strong>: The AP can be configured using the &lt;code>config.ini&lt;/code> file. &lt;br>
For more information about the configurations, refer to &lt;a href="https://docs.protegrity.com/protectors/10.0/docs/ap/ap_java/appendix/ap_config_file/">Config.ini file for Application Protector&lt;/a>.&lt;/p></description></item><item><title>Uninstalling the Application Protector</title><link>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/uninstall_app_protector/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/protectors/10.0/docs/ap/ap_dot_net/appendix/uninstall_app_protector/</guid><description>&lt;p>This section provides step-by-step instructions to uninstall Application Protector .Net (AP .Net) and its associated components from a Windows platform.&lt;/p>
&lt;h2 id="uninstalling-the-log-forwarder">Uninstalling the Log Forwarder&lt;/h2>
&lt;p>Follow these instructions to uninstall the Log Forwarder.&lt;/p>
&lt;h3 id="before-you-begin">Before you begin&lt;/h3>
&lt;ul>
&lt;li>To preserve all the configurations during an upgrade, ensure that all the files present under the &lt;code>C:\Program Files\Protegrity\logforwarder\data\config.d&lt;/code> directory are backed up.&lt;/li>
&lt;li>Close all AP .Net files and folders.&lt;/li>
&lt;/ul>
&lt;h3 id="instructions">Instructions&lt;/h3>
&lt;p>For more information about uninstalling the Log Forwarder, refer to &lt;a href="https://docs.protegrity.com/protectors/10.0/docs/logforwarder/#:~:text=Copy-,Uninstalling%20the%20Log%20Forwarder,-Navigate%20to%20the">Uninstalling Log Forwarder on Windows&lt;/a>.&lt;/p></description></item></channel></rss>