Search in sources :

Example 1 with AutoUpdateAPI

use of org.zaproxy.zap.extension.autoupdate.AutoUpdateAPI in project zaproxy by zaproxy.

the class ApiGeneratorUtils method getAllImplementors.

/**
 * Return all of the available ApiImplementors. If you implement a new ApiImplementor then you
 * must add it to this class.
 *
 * @return all of the available ApiImplementors.
 */
public static List<ApiImplementor> getAllImplementors() {
    List<ApiImplementor> imps = new ArrayList<>();
    ApiImplementor api;
    imps.add(new AlertAPI(null));
    api = new AntiCsrfAPI(null);
    api.addApiOptions(new AntiCsrfParam());
    imps.add(api);
    imps.add(new PassiveScanAPI(null));
    imps.add(new SearchAPI(null));
    api = new AutoUpdateAPI(null);
    api.addApiOptions(new OptionsParamCheckForUpdates());
    imps.add(api);
    api = new SpiderAPI(null);
    api.addApiOptions(new SpiderParam());
    imps.add(api);
    api = new CoreAPI(new ConnectionParam());
    imps.add(api);
    imps.add(new ParamsAPI(null));
    api = new ActiveScanAPI(null);
    api.addApiOptions(new ScannerParam());
    imps.add(api);
    imps.add(new ContextAPI());
    imps.add(new HttpSessionsAPI(null));
    imps.add(new BreakAPI(null));
    imps.add(new AuthenticationAPI(null));
    imps.add(new AuthorizationAPI());
    imps.add(new RuleConfigAPI(null));
    imps.add(new SessionManagementAPI(null));
    imps.add(new UsersAPI(null));
    imps.add(new ForcedUserAPI(null));
    imps.add(new ScriptAPI(null));
    api = new StatsAPI(null);
    api.addApiOptions(new StatsParam());
    imps.add(api);
    return imps;
}
Also used : AntiCsrfAPI(org.zaproxy.zap.extension.anticsrf.AntiCsrfAPI) AuthorizationAPI(org.zaproxy.zap.extension.authorization.AuthorizationAPI) StatsParam(org.zaproxy.zap.extension.stats.StatsParam) ArrayList(java.util.ArrayList) PassiveScanAPI(org.zaproxy.zap.extension.pscan.PassiveScanAPI) SpiderParam(org.zaproxy.zap.spider.SpiderParam) BreakAPI(org.zaproxy.zap.extension.brk.BreakAPI) AuthenticationAPI(org.zaproxy.zap.extension.authentication.AuthenticationAPI) UsersAPI(org.zaproxy.zap.extension.users.UsersAPI) ForcedUserAPI(org.zaproxy.zap.extension.forceduser.ForcedUserAPI) HttpSessionsAPI(org.zaproxy.zap.extension.httpsessions.HttpSessionsAPI) SearchAPI(org.zaproxy.zap.extension.search.SearchAPI) OptionsParamCheckForUpdates(org.zaproxy.zap.extension.autoupdate.OptionsParamCheckForUpdates) AlertAPI(org.zaproxy.zap.extension.alert.AlertAPI) SpiderAPI(org.zaproxy.zap.extension.spider.SpiderAPI) RuleConfigAPI(org.zaproxy.zap.extension.ruleconfig.RuleConfigAPI) SessionManagementAPI(org.zaproxy.zap.extension.sessions.SessionManagementAPI) ParamsAPI(org.zaproxy.zap.extension.params.ParamsAPI) StatsAPI(org.zaproxy.zap.extension.stats.StatsAPI) ActiveScanAPI(org.zaproxy.zap.extension.ascan.ActiveScanAPI) AntiCsrfParam(org.zaproxy.zap.extension.anticsrf.AntiCsrfParam) AutoUpdateAPI(org.zaproxy.zap.extension.autoupdate.AutoUpdateAPI) ScannerParam(org.parosproxy.paros.core.scanner.ScannerParam) ScriptAPI(org.zaproxy.zap.extension.script.ScriptAPI) ConnectionParam(org.parosproxy.paros.network.ConnectionParam)

Aggregations

ArrayList (java.util.ArrayList)1 ScannerParam (org.parosproxy.paros.core.scanner.ScannerParam)1 ConnectionParam (org.parosproxy.paros.network.ConnectionParam)1 AlertAPI (org.zaproxy.zap.extension.alert.AlertAPI)1 AntiCsrfAPI (org.zaproxy.zap.extension.anticsrf.AntiCsrfAPI)1 AntiCsrfParam (org.zaproxy.zap.extension.anticsrf.AntiCsrfParam)1 ActiveScanAPI (org.zaproxy.zap.extension.ascan.ActiveScanAPI)1 AuthenticationAPI (org.zaproxy.zap.extension.authentication.AuthenticationAPI)1 AuthorizationAPI (org.zaproxy.zap.extension.authorization.AuthorizationAPI)1 AutoUpdateAPI (org.zaproxy.zap.extension.autoupdate.AutoUpdateAPI)1 OptionsParamCheckForUpdates (org.zaproxy.zap.extension.autoupdate.OptionsParamCheckForUpdates)1 BreakAPI (org.zaproxy.zap.extension.brk.BreakAPI)1 ForcedUserAPI (org.zaproxy.zap.extension.forceduser.ForcedUserAPI)1 HttpSessionsAPI (org.zaproxy.zap.extension.httpsessions.HttpSessionsAPI)1 ParamsAPI (org.zaproxy.zap.extension.params.ParamsAPI)1 PassiveScanAPI (org.zaproxy.zap.extension.pscan.PassiveScanAPI)1 RuleConfigAPI (org.zaproxy.zap.extension.ruleconfig.RuleConfigAPI)1 ScriptAPI (org.zaproxy.zap.extension.script.ScriptAPI)1 SearchAPI (org.zaproxy.zap.extension.search.SearchAPI)1 SessionManagementAPI (org.zaproxy.zap.extension.sessions.SessionManagementAPI)1