ios

package
v0.18.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ios provides types and functions for working with iOS project scan reports from MobSF.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReport

func NewReport(report []byte, exclusions map[string]bool) (mreport.Report, error)

NewReport instantiates a report object for processing

Types

type ATSAnalysisFinding

type ATSAnalysisFinding struct {
	Issue       string `json:"issue"`
	Status      string `json:"status"`
	Description string `json:"description"`
}

ATSAnalysisFinding represents the App Transport Security (ATS) findings in an iOS project scan report.

type Report

type Report struct {
	RootDir                string                                 `json:"-"`
	CodeAnalysis           map[string]mreport.CodeAnalysisFinding `json:"code_analysis"`
	CodeAnalysisExclusions map[string]bool                        `json:"-"`
	ATSAnalysis            []ATSAnalysisFinding                   `json:"ats_analysis"`
}

Report represents a (partial) iOS project scan report.

func (*Report) AsIssues

func (r *Report) AsIssues() []*v1.Issue

AsIssues returns mobsf findings as Dracon Issues

func (*Report) SetRootDir

func (r *Report) SetRootDir(path string)

SetRootDir is a struct helper method to set the code root path

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL