Git Product home page Git Product logo

cloudmersive.apiclient.apex.security's Introduction

securityapi API Client

The security APIs help you detect and block security threats.

Requirements

If everything is set correctly:

  • Running sfdx version in a command prompt should output something like:

    sfdx-cli/5.7.5-05549de (darwin-amd64) go1.7.5 sfdxstable

Installation

  1. Copy the output into your Salesforce DX folder - or alternatively deploy the output directly into the workspace.

  2. Deploy the code via Salesforce DX to your Scratch Org

    $ sfdx force:source:push
  3. If the API needs authentication update the Named Credential in Setup.

  4. Run your Apex tests using

    $ sfdx sfdx force:apex:test:run
  5. Retrieve the job id from the console and check the test results.

$ sfdx force:apex:test:report -i theJobId

Getting Started

Please follow the installation instruction and execute the following Apex code:

SwagContentThreatDetectionApi api = new SwagContentThreatDetectionApi();
SwagClient client = api.getClient();


Map<String, Object> params = new Map<String, Object>{
    'value' => 'value_example'
};

try {
    // cross your fingers
    SwagStringAutomaticThreatDetection result = api.contentThreatDetectionAutomaticThreatDetectionString(params);
    System.debug(result);
} catch (Swagger.ApiException e) {
    // ...handle your exceptions
}

Documentation for API Endpoints

All URIs are relative to https://api.cloudmersive.com

Class Method HTTP request Description
SwagContentThreatDetectionApi contentThreatDetectionAutomaticThreatDetectionString POST /security/threat-detection/content/automatic/detect/string Automatically detect threats in an input string
SwagContentThreatDetectionApi contentThreatDetectionCheckSqlInjectionString POST /security/threat-detection/content/sql-injection/detect/string Check text input for SQL Injection (SQLI) attacks
SwagContentThreatDetectionApi contentThreatDetectionCheckXxe POST /security/threat-detection/content/xxe/detect/xml/string Protect text input from XML External Entity (XXE) attacks
SwagContentThreatDetectionApi contentThreatDetectionDetectInsecureDeserializationJsonString POST /security/threat-detection/content/insecure-deserialization/json/detect/string Detect Insecure Deserialization JSON (JID) attacks in a string
SwagContentThreatDetectionApi contentThreatDetectionProtectXss POST /security/threat-detection/content/xss/detect/string Protect text input from Cross-Site-Scripting (XSS) attacks through normalization
SwagNetworkThreatDetectionApi networkThreatDetectionDetectSsrfUrl POST /security/threat-detection/network/url/ssrf/detect Check a URL for Server-side Request Forgery (SSRF) threats
SwagNetworkThreatDetectionApi networkThreatDetectionIsBot POST /security/threat-detection/network/ip/is-bot Check if IP address is a Bot client threat
SwagNetworkThreatDetectionApi networkThreatDetectionIsThreat POST /security/threat-detection/network/ip/is-threat Check if IP address is a known threat
SwagNetworkThreatDetectionApi networkThreatDetectionIsTorNode POST /security/threat-detection/network/ip/is-tor-node Check if IP address is a Tor node server

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

Apikey

  • Type: API key
  • API key parameter name: Apikey
  • Location: HTTP header

Author

cloudmersive.apiclient.apex.security's People

Contributors

cloudmersive avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.