Projects STRLCPY syft Commits 85bddaa4
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    internal/constants.go
    skipped 5 lines
    6 6   
    7 7   // JSONSchemaVersion is the current schema version output by the JSON encoder
    8 8   // This is roughly following the "SchemaVer" guidelines for versioning the JSON schema. Please see schema/json/README.md for details on how to increment.
    9  - JSONSchemaVersion = "6.0.0"
     9 + JSONSchemaVersion = "6.1.0"
    10 10  )
    11 11   
  • ■ ■ ■ ■
    schema/json/generate.go
    skipped 135 lines
    136 136   }
    137 137   
    138 138   // the generated schema is different, bail with error :(
    139  - fmt.Printf("Cowardly refusing to overwrite existing schema (%s)!\nSee the scheam/json/README.md for how to increment\n", filename)
     139 + fmt.Printf("Cowardly refusing to overwrite existing schema (%s)!\nSee the schema/json/README.md for how to increment\n", filename)
    140 140   os.Exit(1)
    141 141   }
    142 142   
    skipped 15 lines
  • ■ ■ ■ ■ ■ ■
    schema/json/schema-6.1.0.json
     1 +{
     2 + "$schema": "https://json-schema.org/draft/2020-12/schema",
     3 + "$id": "https://github.com/anchore/syft/syft/formats/syftjson/model/document",
     4 + "$ref": "#/$defs/Document",
     5 + "$defs": {
     6 + "AlpmFileRecord": {
     7 + "properties": {
     8 + "path": {
     9 + "type": "string"
     10 + },
     11 + "type": {
     12 + "type": "string"
     13 + },
     14 + "uid": {
     15 + "type": "string"
     16 + },
     17 + "gid": {
     18 + "type": "string"
     19 + },
     20 + "time": {
     21 + "type": "string",
     22 + "format": "date-time"
     23 + },
     24 + "size": {
     25 + "type": "string"
     26 + },
     27 + "link": {
     28 + "type": "string"
     29 + },
     30 + "digest": {
     31 + "items": {
     32 + "$ref": "#/$defs/Digest"
     33 + },
     34 + "type": "array"
     35 + }
     36 + },
     37 + "type": "object"
     38 + },
     39 + "AlpmMetadata": {
     40 + "properties": {
     41 + "basepackage": {
     42 + "type": "string"
     43 + },
     44 + "package": {
     45 + "type": "string"
     46 + },
     47 + "version": {
     48 + "type": "string"
     49 + },
     50 + "description": {
     51 + "type": "string"
     52 + },
     53 + "architecture": {
     54 + "type": "string"
     55 + },
     56 + "size": {
     57 + "type": "integer"
     58 + },
     59 + "packager": {
     60 + "type": "string"
     61 + },
     62 + "license": {
     63 + "type": "string"
     64 + },
     65 + "url": {
     66 + "type": "string"
     67 + },
     68 + "validation": {
     69 + "type": "string"
     70 + },
     71 + "reason": {
     72 + "type": "integer"
     73 + },
     74 + "files": {
     75 + "items": {
     76 + "$ref": "#/$defs/AlpmFileRecord"
     77 + },
     78 + "type": "array"
     79 + },
     80 + "backup": {
     81 + "items": {
     82 + "$ref": "#/$defs/AlpmFileRecord"
     83 + },
     84 + "type": "array"
     85 + }
     86 + },
     87 + "type": "object",
     88 + "required": [
     89 + "basepackage",
     90 + "package",
     91 + "version",
     92 + "description",
     93 + "architecture",
     94 + "size",
     95 + "packager",
     96 + "license",
     97 + "url",
     98 + "validation",
     99 + "reason",
     100 + "files",
     101 + "backup"
     102 + ]
     103 + },
     104 + "ApkFileRecord": {
     105 + "properties": {
     106 + "path": {
     107 + "type": "string"
     108 + },
     109 + "ownerUid": {
     110 + "type": "string"
     111 + },
     112 + "ownerGid": {
     113 + "type": "string"
     114 + },
     115 + "permissions": {
     116 + "type": "string"
     117 + },
     118 + "digest": {
     119 + "$ref": "#/$defs/Digest"
     120 + }
     121 + },
     122 + "type": "object",
     123 + "required": [
     124 + "path"
     125 + ]
     126 + },
     127 + "ApkMetadata": {
     128 + "properties": {
     129 + "package": {
     130 + "type": "string"
     131 + },
     132 + "originPackage": {
     133 + "type": "string"
     134 + },
     135 + "maintainer": {
     136 + "type": "string"
     137 + },
     138 + "version": {
     139 + "type": "string"
     140 + },
     141 + "license": {
     142 + "type": "string"
     143 + },
     144 + "architecture": {
     145 + "type": "string"
     146 + },
     147 + "url": {
     148 + "type": "string"
     149 + },
     150 + "description": {
     151 + "type": "string"
     152 + },
     153 + "size": {
     154 + "type": "integer"
     155 + },
     156 + "installedSize": {
     157 + "type": "integer"
     158 + },
     159 + "pullDependencies": {
     160 + "items": {
     161 + "type": "string"
     162 + },
     163 + "type": "array"
     164 + },
     165 + "provides": {
     166 + "items": {
     167 + "type": "string"
     168 + },
     169 + "type": "array"
     170 + },
     171 + "pullChecksum": {
     172 + "type": "string"
     173 + },
     174 + "gitCommitOfApkPort": {
     175 + "type": "string"
     176 + },
     177 + "files": {
     178 + "items": {
     179 + "$ref": "#/$defs/ApkFileRecord"
     180 + },
     181 + "type": "array"
     182 + }
     183 + },
     184 + "type": "object",
     185 + "required": [
     186 + "package",
     187 + "originPackage",
     188 + "maintainer",
     189 + "version",
     190 + "license",
     191 + "architecture",
     192 + "url",
     193 + "description",
     194 + "size",
     195 + "installedSize",
     196 + "pullDependencies",
     197 + "provides",
     198 + "pullChecksum",
     199 + "gitCommitOfApkPort",
     200 + "files"
     201 + ]
     202 + },
     203 + "CargoPackageMetadata": {
     204 + "properties": {
     205 + "name": {
     206 + "type": "string"
     207 + },
     208 + "version": {
     209 + "type": "string"
     210 + },
     211 + "source": {
     212 + "type": "string"
     213 + },
     214 + "checksum": {
     215 + "type": "string"
     216 + },
     217 + "dependencies": {
     218 + "items": {
     219 + "type": "string"
     220 + },
     221 + "type": "array"
     222 + }
     223 + },
     224 + "type": "object",
     225 + "required": [
     226 + "name",
     227 + "version",
     228 + "source",
     229 + "checksum",
     230 + "dependencies"
     231 + ]
     232 + },
     233 + "CocoapodsMetadata": {
     234 + "properties": {
     235 + "checksum": {
     236 + "type": "string"
     237 + }
     238 + },
     239 + "type": "object",
     240 + "required": [
     241 + "checksum"
     242 + ]
     243 + },
     244 + "ConanLockMetadata": {
     245 + "properties": {
     246 + "ref": {
     247 + "type": "string"
     248 + },
     249 + "package_id": {
     250 + "type": "string"
     251 + },
     252 + "prev": {
     253 + "type": "string"
     254 + },
     255 + "requires": {
     256 + "type": "string"
     257 + },
     258 + "build_requires": {
     259 + "type": "string"
     260 + },
     261 + "py_requires": {
     262 + "type": "string"
     263 + },
     264 + "options": {
     265 + "patternProperties": {
     266 + ".*": {
     267 + "type": "string"
     268 + }
     269 + },
     270 + "type": "object"
     271 + },
     272 + "path": {
     273 + "type": "string"
     274 + },
     275 + "context": {
     276 + "type": "string"
     277 + }
     278 + },
     279 + "type": "object",
     280 + "required": [
     281 + "ref"
     282 + ]
     283 + },
     284 + "ConanMetadata": {
     285 + "properties": {
     286 + "ref": {
     287 + "type": "string"
     288 + }
     289 + },
     290 + "type": "object",
     291 + "required": [
     292 + "ref"
     293 + ]
     294 + },
     295 + "Coordinates": {
     296 + "properties": {
     297 + "path": {
     298 + "type": "string"
     299 + },
     300 + "layerID": {
     301 + "type": "string"
     302 + }
     303 + },
     304 + "type": "object",
     305 + "required": [
     306 + "path"
     307 + ]
     308 + },
     309 + "DartPubMetadata": {
     310 + "properties": {
     311 + "name": {
     312 + "type": "string"
     313 + },
     314 + "version": {
     315 + "type": "string"
     316 + },
     317 + "hosted_url": {
     318 + "type": "string"
     319 + },
     320 + "vcs_url": {
     321 + "type": "string"
     322 + }
     323 + },
     324 + "type": "object",
     325 + "required": [
     326 + "name",
     327 + "version"
     328 + ]
     329 + },
     330 + "Descriptor": {
     331 + "properties": {
     332 + "name": {
     333 + "type": "string"
     334 + },
     335 + "version": {
     336 + "type": "string"
     337 + },
     338 + "configuration": true
     339 + },
     340 + "type": "object",
     341 + "required": [
     342 + "name",
     343 + "version"
     344 + ]
     345 + },
     346 + "Digest": {
     347 + "properties": {
     348 + "algorithm": {
     349 + "type": "string"
     350 + },
     351 + "value": {
     352 + "type": "string"
     353 + }
     354 + },
     355 + "type": "object",
     356 + "required": [
     357 + "algorithm",
     358 + "value"
     359 + ]
     360 + },
     361 + "Document": {
     362 + "properties": {
     363 + "artifacts": {
     364 + "items": {
     365 + "$ref": "#/$defs/Package"
     366 + },
     367 + "type": "array"
     368 + },
     369 + "artifactRelationships": {
     370 + "items": {
     371 + "$ref": "#/$defs/Relationship"
     372 + },
     373 + "type": "array"
     374 + },
     375 + "files": {
     376 + "items": {
     377 + "$ref": "#/$defs/File"
     378 + },
     379 + "type": "array"
     380 + },
     381 + "secrets": {
     382 + "items": {
     383 + "$ref": "#/$defs/Secrets"
     384 + },
     385 + "type": "array"
     386 + },
     387 + "source": {
     388 + "$ref": "#/$defs/Source"
     389 + },
     390 + "distro": {
     391 + "$ref": "#/$defs/LinuxRelease"
     392 + },
     393 + "descriptor": {
     394 + "$ref": "#/$defs/Descriptor"
     395 + },
     396 + "schema": {
     397 + "$ref": "#/$defs/Schema"
     398 + }
     399 + },
     400 + "type": "object",
     401 + "required": [
     402 + "artifacts",
     403 + "artifactRelationships",
     404 + "source",
     405 + "distro",
     406 + "descriptor",
     407 + "schema"
     408 + ]
     409 + },
     410 + "DotnetDepsMetadata": {
     411 + "properties": {
     412 + "name": {
     413 + "type": "string"
     414 + },
     415 + "version": {
     416 + "type": "string"
     417 + },
     418 + "path": {
     419 + "type": "string"
     420 + },
     421 + "sha512": {
     422 + "type": "string"
     423 + },
     424 + "hashPath": {
     425 + "type": "string"
     426 + }
     427 + },
     428 + "type": "object",
     429 + "required": [
     430 + "name",
     431 + "version",
     432 + "path",
     433 + "sha512",
     434 + "hashPath"
     435 + ]
     436 + },
     437 + "DpkgFileRecord": {
     438 + "properties": {
     439 + "path": {
     440 + "type": "string"
     441 + },
     442 + "digest": {
     443 + "$ref": "#/$defs/Digest"
     444 + },
     445 + "isConfigFile": {
     446 + "type": "boolean"
     447 + }
     448 + },
     449 + "type": "object",
     450 + "required": [
     451 + "path",
     452 + "isConfigFile"
     453 + ]
     454 + },
     455 + "DpkgMetadata": {
     456 + "properties": {
     457 + "package": {
     458 + "type": "string"
     459 + },
     460 + "source": {
     461 + "type": "string"
     462 + },
     463 + "version": {
     464 + "type": "string"
     465 + },
     466 + "sourceVersion": {
     467 + "type": "string"
     468 + },
     469 + "architecture": {
     470 + "type": "string"
     471 + },
     472 + "maintainer": {
     473 + "type": "string"
     474 + },
     475 + "installedSize": {
     476 + "type": "integer"
     477 + },
     478 + "files": {
     479 + "items": {
     480 + "$ref": "#/$defs/DpkgFileRecord"
     481 + },
     482 + "type": "array"
     483 + }
     484 + },
     485 + "type": "object",
     486 + "required": [
     487 + "package",
     488 + "source",
     489 + "version",
     490 + "sourceVersion",
     491 + "architecture",
     492 + "maintainer",
     493 + "installedSize",
     494 + "files"
     495 + ]
     496 + },
     497 + "File": {
     498 + "properties": {
     499 + "id": {
     500 + "type": "string"
     501 + },
     502 + "location": {
     503 + "$ref": "#/$defs/Coordinates"
     504 + },
     505 + "metadata": {
     506 + "$ref": "#/$defs/FileMetadataEntry"
     507 + },
     508 + "contents": {
     509 + "type": "string"
     510 + },
     511 + "digests": {
     512 + "items": {
     513 + "$ref": "#/$defs/Digest"
     514 + },
     515 + "type": "array"
     516 + }
     517 + },
     518 + "type": "object",
     519 + "required": [
     520 + "id",
     521 + "location"
     522 + ]
     523 + },
     524 + "FileMetadataEntry": {
     525 + "properties": {
     526 + "mode": {
     527 + "type": "integer"
     528 + },
     529 + "type": {
     530 + "type": "string"
     531 + },
     532 + "linkDestination": {
     533 + "type": "string"
     534 + },
     535 + "userID": {
     536 + "type": "integer"
     537 + },
     538 + "groupID": {
     539 + "type": "integer"
     540 + },
     541 + "mimeType": {
     542 + "type": "string"
     543 + }
     544 + },
     545 + "type": "object",
     546 + "required": [
     547 + "mode",
     548 + "type",
     549 + "userID",
     550 + "groupID",
     551 + "mimeType"
     552 + ]
     553 + },
     554 + "GemMetadata": {
     555 + "properties": {
     556 + "name": {
     557 + "type": "string"
     558 + },
     559 + "version": {
     560 + "type": "string"
     561 + },
     562 + "files": {
     563 + "items": {
     564 + "type": "string"
     565 + },
     566 + "type": "array"
     567 + },
     568 + "authors": {
     569 + "items": {
     570 + "type": "string"
     571 + },
     572 + "type": "array"
     573 + },
     574 + "licenses": {
     575 + "items": {
     576 + "type": "string"
     577 + },
     578 + "type": "array"
     579 + },
     580 + "homepage": {
     581 + "type": "string"
     582 + }
     583 + },
     584 + "type": "object",
     585 + "required": [
     586 + "name",
     587 + "version"
     588 + ]
     589 + },
     590 + "GolangMetadata": {
     591 + "properties": {
     592 + "goBuildSettings": {
     593 + "patternProperties": {
     594 + ".*": {
     595 + "type": "string"
     596 + }
     597 + },
     598 + "type": "object"
     599 + },
     600 + "goCompiledVersion": {
     601 + "type": "string"
     602 + },
     603 + "architecture": {
     604 + "type": "string"
     605 + },
     606 + "h1Digest": {
     607 + "type": "string"
     608 + },
     609 + "mainModule": {
     610 + "type": "string"
     611 + }
     612 + },
     613 + "type": "object",
     614 + "required": [
     615 + "goCompiledVersion",
     616 + "architecture"
     617 + ]
     618 + },
     619 + "HackageMetadata": {
     620 + "properties": {
     621 + "name": {
     622 + "type": "string"
     623 + },
     624 + "version": {
     625 + "type": "string"
     626 + },
     627 + "pkgHash": {
     628 + "type": "string"
     629 + },
     630 + "snapshotURL": {
     631 + "type": "string"
     632 + }
     633 + },
     634 + "type": "object",
     635 + "required": [
     636 + "name",
     637 + "version"
     638 + ]
     639 + },
     640 + "IDLikes": {
     641 + "items": {
     642 + "type": "string"
     643 + },
     644 + "type": "array"
     645 + },
     646 + "JavaManifest": {
     647 + "properties": {
     648 + "main": {
     649 + "patternProperties": {
     650 + ".*": {
     651 + "type": "string"
     652 + }
     653 + },
     654 + "type": "object"
     655 + },
     656 + "namedSections": {
     657 + "patternProperties": {
     658 + ".*": {
     659 + "patternProperties": {
     660 + ".*": {
     661 + "type": "string"
     662 + }
     663 + },
     664 + "type": "object"
     665 + }
     666 + },
     667 + "type": "object"
     668 + }
     669 + },
     670 + "type": "object"
     671 + },
     672 + "JavaMetadata": {
     673 + "properties": {
     674 + "virtualPath": {
     675 + "type": "string"
     676 + },
     677 + "manifest": {
     678 + "$ref": "#/$defs/JavaManifest"
     679 + },
     680 + "pomProperties": {
     681 + "$ref": "#/$defs/PomProperties"
     682 + },
     683 + "pomProject": {
     684 + "$ref": "#/$defs/PomProject"
     685 + },
     686 + "digest": {
     687 + "items": {
     688 + "$ref": "#/$defs/Digest"
     689 + },
     690 + "type": "array"
     691 + }
     692 + },
     693 + "type": "object",
     694 + "required": [
     695 + "virtualPath"
     696 + ]
     697 + },
     698 + "KbPackageMetadata": {
     699 + "properties": {
     700 + "product_id": {
     701 + "type": "string"
     702 + },
     703 + "kb": {
     704 + "type": "string"
     705 + }
     706 + },
     707 + "type": "object",
     708 + "required": [
     709 + "product_id",
     710 + "kb"
     711 + ]
     712 + },
     713 + "LinuxRelease": {
     714 + "properties": {
     715 + "prettyName": {
     716 + "type": "string"
     717 + },
     718 + "name": {
     719 + "type": "string"
     720 + },
     721 + "id": {
     722 + "type": "string"
     723 + },
     724 + "idLike": {
     725 + "$ref": "#/$defs/IDLikes"
     726 + },
     727 + "version": {
     728 + "type": "string"
     729 + },
     730 + "versionID": {
     731 + "type": "string"
     732 + },
     733 + "versionCodename": {
     734 + "type": "string"
     735 + },
     736 + "buildID": {
     737 + "type": "string"
     738 + },
     739 + "imageID": {
     740 + "type": "string"
     741 + },
     742 + "imageVersion": {
     743 + "type": "string"
     744 + },
     745 + "variant": {
     746 + "type": "string"
     747 + },
     748 + "variantID": {
     749 + "type": "string"
     750 + },
     751 + "homeURL": {
     752 + "type": "string"
     753 + },
     754 + "supportURL": {
     755 + "type": "string"
     756 + },
     757 + "bugReportURL": {
     758 + "type": "string"
     759 + },
     760 + "privacyPolicyURL": {
     761 + "type": "string"
     762 + },
     763 + "cpeName": {
     764 + "type": "string"
     765 + }
     766 + },
     767 + "type": "object"
     768 + },
     769 + "NpmPackageJSONMetadata": {
     770 + "properties": {
     771 + "name": {
     772 + "type": "string"
     773 + },
     774 + "version": {
     775 + "type": "string"
     776 + },
     777 + "files": {
     778 + "items": {
     779 + "type": "string"
     780 + },
     781 + "type": "array"
     782 + },
     783 + "author": {
     784 + "type": "string"
     785 + },
     786 + "licenses": {
     787 + "items": {
     788 + "type": "string"
     789 + },
     790 + "type": "array"
     791 + },
     792 + "homepage": {
     793 + "type": "string"
     794 + },
     795 + "description": {
     796 + "type": "string"
     797 + },
     798 + "url": {
     799 + "type": "string"
     800 + },
     801 + "private": {
     802 + "type": "boolean"
     803 + }
     804 + },
     805 + "type": "object",
     806 + "required": [
     807 + "name",
     808 + "version",
     809 + "author",
     810 + "licenses",
     811 + "homepage",
     812 + "description",
     813 + "url",
     814 + "private"
     815 + ]
     816 + },
     817 + "Package": {
     818 + "properties": {
     819 + "id": {
     820 + "type": "string"
     821 + },
     822 + "name": {
     823 + "type": "string"
     824 + },
     825 + "version": {
     826 + "type": "string"
     827 + },
     828 + "type": {
     829 + "type": "string"
     830 + },
     831 + "foundBy": {
     832 + "type": "string"
     833 + },
     834 + "locations": {
     835 + "items": {
     836 + "$ref": "#/$defs/Coordinates"
     837 + },
     838 + "type": "array"
     839 + },
     840 + "licenses": {
     841 + "items": {
     842 + "type": "string"
     843 + },
     844 + "type": "array"
     845 + },
     846 + "language": {
     847 + "type": "string"
     848 + },
     849 + "cpes": {
     850 + "items": {
     851 + "type": "string"
     852 + },
     853 + "type": "array"
     854 + },
     855 + "purl": {
     856 + "type": "string"
     857 + },
     858 + "metadataType": {
     859 + "type": "string"
     860 + },
     861 + "metadata": {
     862 + "anyOf": [
     863 + {
     864 + "type": "null"
     865 + },
     866 + {
     867 + "$ref": "#/$defs/AlpmMetadata"
     868 + },
     869 + {
     870 + "$ref": "#/$defs/ApkMetadata"
     871 + },
     872 + {
     873 + "$ref": "#/$defs/CargoPackageMetadata"
     874 + },
     875 + {
     876 + "$ref": "#/$defs/CocoapodsMetadata"
     877 + },
     878 + {
     879 + "$ref": "#/$defs/ConanLockMetadata"
     880 + },
     881 + {
     882 + "$ref": "#/$defs/ConanMetadata"
     883 + },
     884 + {
     885 + "$ref": "#/$defs/DartPubMetadata"
     886 + },
     887 + {
     888 + "$ref": "#/$defs/DotnetDepsMetadata"
     889 + },
     890 + {
     891 + "$ref": "#/$defs/DpkgMetadata"
     892 + },
     893 + {
     894 + "$ref": "#/$defs/GemMetadata"
     895 + },
     896 + {
     897 + "$ref": "#/$defs/GolangMetadata"
     898 + },
     899 + {
     900 + "$ref": "#/$defs/HackageMetadata"
     901 + },
     902 + {
     903 + "$ref": "#/$defs/JavaMetadata"
     904 + },
     905 + {
     906 + "$ref": "#/$defs/KbPackageMetadata"
     907 + },
     908 + {
     909 + "$ref": "#/$defs/NpmPackageJSONMetadata"
     910 + },
     911 + {
     912 + "$ref": "#/$defs/PhpComposerJSONMetadata"
     913 + },
     914 + {
     915 + "$ref": "#/$defs/PortageMetadata"
     916 + },
     917 + {
     918 + "$ref": "#/$defs/PythonPackageMetadata"
     919 + },
     920 + {
     921 + "$ref": "#/$defs/RpmMetadata"
     922 + }
     923 + ]
     924 + }
     925 + },
     926 + "type": "object",
     927 + "required": [
     928 + "id",
     929 + "name",
     930 + "version",
     931 + "type",
     932 + "foundBy",
     933 + "locations",
     934 + "licenses",
     935 + "language",
     936 + "cpes",
     937 + "purl"
     938 + ]
     939 + },
     940 + "PhpComposerAuthors": {
     941 + "properties": {
     942 + "name": {
     943 + "type": "string"
     944 + },
     945 + "email": {
     946 + "type": "string"
     947 + },
     948 + "homepage": {
     949 + "type": "string"
     950 + }
     951 + },
     952 + "type": "object",
     953 + "required": [
     954 + "name"
     955 + ]
     956 + },
     957 + "PhpComposerExternalReference": {
     958 + "properties": {
     959 + "type": {
     960 + "type": "string"
     961 + },
     962 + "url": {
     963 + "type": "string"
     964 + },
     965 + "reference": {
     966 + "type": "string"
     967 + },
     968 + "shasum": {
     969 + "type": "string"
     970 + }
     971 + },
     972 + "type": "object",
     973 + "required": [
     974 + "type",
     975 + "url",
     976 + "reference"
     977 + ]
     978 + },
     979 + "PhpComposerJSONMetadata": {
     980 + "properties": {
     981 + "name": {
     982 + "type": "string"
     983 + },
     984 + "version": {
     985 + "type": "string"
     986 + },
     987 + "source": {
     988 + "$ref": "#/$defs/PhpComposerExternalReference"
     989 + },
     990 + "dist": {
     991 + "$ref": "#/$defs/PhpComposerExternalReference"
     992 + },
     993 + "require": {
     994 + "patternProperties": {
     995 + ".*": {
     996 + "type": "string"
     997 + }
     998 + },
     999 + "type": "object"
     1000 + },
     1001 + "provide": {
     1002 + "patternProperties": {
     1003 + ".*": {
     1004 + "type": "string"
     1005 + }
     1006 + },
     1007 + "type": "object"
     1008 + },
     1009 + "require-dev": {
     1010 + "patternProperties": {
     1011 + ".*": {
     1012 + "type": "string"
     1013 + }
     1014 + },
     1015 + "type": "object"
     1016 + },
     1017 + "suggest": {
     1018 + "patternProperties": {
     1019 + ".*": {
     1020 + "type": "string"
     1021 + }
     1022 + },
     1023 + "type": "object"
     1024 + },
     1025 + "type": {
     1026 + "type": "string"
     1027 + },
     1028 + "notification-url": {
     1029 + "type": "string"
     1030 + },
     1031 + "bin": {
     1032 + "items": {
     1033 + "type": "string"
     1034 + },
     1035 + "type": "array"
     1036 + },
     1037 + "license": {
     1038 + "items": {
     1039 + "type": "string"
     1040 + },
     1041 + "type": "array"
     1042 + },
     1043 + "authors": {
     1044 + "items": {
     1045 + "$ref": "#/$defs/PhpComposerAuthors"
     1046 + },
     1047 + "type": "array"
     1048 + },
     1049 + "description": {
     1050 + "type": "string"
     1051 + },
     1052 + "homepage": {
     1053 + "type": "string"
     1054 + },
     1055 + "keywords": {
     1056 + "items": {
     1057 + "type": "string"
     1058 + },
     1059 + "type": "array"
     1060 + },
     1061 + "time": {
     1062 + "type": "string"
     1063 + }
     1064 + },
     1065 + "type": "object",
     1066 + "required": [
     1067 + "name",
     1068 + "version",
     1069 + "source",
     1070 + "dist"
     1071 + ]
     1072 + },
     1073 + "PomParent": {
     1074 + "properties": {
     1075 + "groupId": {
     1076 + "type": "string"
     1077 + },
     1078 + "artifactId": {
     1079 + "type": "string"
     1080 + },
     1081 + "version": {
     1082 + "type": "string"
     1083 + }
     1084 + },
     1085 + "type": "object",
     1086 + "required": [
     1087 + "groupId",
     1088 + "artifactId",
     1089 + "version"
     1090 + ]
     1091 + },
     1092 + "PomProject": {
     1093 + "properties": {
     1094 + "path": {
     1095 + "type": "string"
     1096 + },
     1097 + "parent": {
     1098 + "$ref": "#/$defs/PomParent"
     1099 + },
     1100 + "groupId": {
     1101 + "type": "string"
     1102 + },
     1103 + "artifactId": {
     1104 + "type": "string"
     1105 + },
     1106 + "version": {
     1107 + "type": "string"
     1108 + },
     1109 + "name": {
     1110 + "type": "string"
     1111 + },
     1112 + "description": {
     1113 + "type": "string"
     1114 + },
     1115 + "url": {
     1116 + "type": "string"
     1117 + }
     1118 + },
     1119 + "type": "object",
     1120 + "required": [
     1121 + "path",
     1122 + "groupId",
     1123 + "artifactId",
     1124 + "version",
     1125 + "name"
     1126 + ]
     1127 + },
     1128 + "PomProperties": {
     1129 + "properties": {
     1130 + "path": {
     1131 + "type": "string"
     1132 + },
     1133 + "name": {
     1134 + "type": "string"
     1135 + },
     1136 + "groupId": {
     1137 + "type": "string"
     1138 + },
     1139 + "artifactId": {
     1140 + "type": "string"
     1141 + },
     1142 + "version": {
     1143 + "type": "string"
     1144 + },
     1145 + "extraFields": {
     1146 + "patternProperties": {
     1147 + ".*": {
     1148 + "type": "string"
     1149 + }
     1150 + },
     1151 + "type": "object"
     1152 + }
     1153 + },
     1154 + "type": "object",
     1155 + "required": [
     1156 + "path",
     1157 + "name",
     1158 + "groupId",
     1159 + "artifactId",
     1160 + "version"
     1161 + ]
     1162 + },
     1163 + "PortageFileRecord": {
     1164 + "properties": {
     1165 + "path": {
     1166 + "type": "string"
     1167 + },
     1168 + "digest": {
     1169 + "$ref": "#/$defs/Digest"
     1170 + }
     1171 + },
     1172 + "type": "object",
     1173 + "required": [
     1174 + "path"
     1175 + ]
     1176 + },
     1177 + "PortageMetadata": {
     1178 + "properties": {
     1179 + "installedSize": {
     1180 + "type": "integer"
     1181 + },
     1182 + "files": {
     1183 + "items": {
     1184 + "$ref": "#/$defs/PortageFileRecord"
     1185 + },
     1186 + "type": "array"
     1187 + }
     1188 + },
     1189 + "type": "object",
     1190 + "required": [
     1191 + "installedSize",
     1192 + "files"
     1193 + ]
     1194 + },
     1195 + "PythonDirectURLOriginInfo": {
     1196 + "properties": {
     1197 + "url": {
     1198 + "type": "string"
     1199 + },
     1200 + "commitId": {
     1201 + "type": "string"
     1202 + },
     1203 + "vcs": {
     1204 + "type": "string"
     1205 + }
     1206 + },
     1207 + "type": "object",
     1208 + "required": [
     1209 + "url"
     1210 + ]
     1211 + },
     1212 + "PythonFileDigest": {
     1213 + "properties": {
     1214 + "algorithm": {
     1215 + "type": "string"
     1216 + },
     1217 + "value": {
     1218 + "type": "string"
     1219 + }
     1220 + },
     1221 + "type": "object",
     1222 + "required": [
     1223 + "algorithm",
     1224 + "value"
     1225 + ]
     1226 + },
     1227 + "PythonFileRecord": {
     1228 + "properties": {
     1229 + "path": {
     1230 + "type": "string"
     1231 + },
     1232 + "digest": {
     1233 + "$ref": "#/$defs/PythonFileDigest"
     1234 + },
     1235 + "size": {
     1236 + "type": "string"
     1237 + }
     1238 + },
     1239 + "type": "object",
     1240 + "required": [
     1241 + "path"
     1242 + ]
     1243 + },
     1244 + "PythonPackageMetadata": {
     1245 + "properties": {
     1246 + "name": {
     1247 + "type": "string"
     1248 + },
     1249 + "version": {
     1250 + "type": "string"
     1251 + },
     1252 + "license": {
     1253 + "type": "string"
     1254 + },
     1255 + "author": {
     1256 + "type": "string"
     1257 + },
     1258 + "authorEmail": {
     1259 + "type": "string"
     1260 + },
     1261 + "platform": {
     1262 + "type": "string"
     1263 + },
     1264 + "files": {
     1265 + "items": {
     1266 + "$ref": "#/$defs/PythonFileRecord"
     1267 + },
     1268 + "type": "array"
     1269 + },
     1270 + "sitePackagesRootPath": {
     1271 + "type": "string"
     1272 + },
     1273 + "topLevelPackages": {
     1274 + "items": {
     1275 + "type": "string"
     1276 + },
     1277 + "type": "array"
     1278 + },
     1279 + "directUrlOrigin": {
     1280 + "$ref": "#/$defs/PythonDirectURLOriginInfo"
     1281 + }
     1282 + },
     1283 + "type": "object",
     1284 + "required": [
     1285 + "name",
     1286 + "version",
     1287 + "license",
     1288 + "author",
     1289 + "authorEmail",
     1290 + "platform",
     1291 + "sitePackagesRootPath"
     1292 + ]
     1293 + },
     1294 + "Relationship": {
     1295 + "properties": {
     1296 + "parent": {
     1297 + "type": "string"
     1298 + },
     1299 + "child": {
     1300 + "type": "string"
     1301 + },
     1302 + "type": {
     1303 + "type": "string"
     1304 + },
     1305 + "metadata": true
     1306 + },
     1307 + "type": "object",
     1308 + "required": [
     1309 + "parent",
     1310 + "child",
     1311 + "type"
     1312 + ]
     1313 + },
     1314 + "RpmMetadata": {
     1315 + "properties": {
     1316 + "name": {
     1317 + "type": "string"
     1318 + },
     1319 + "version": {
     1320 + "type": "string"
     1321 + },
     1322 + "epoch": {
     1323 + "oneOf": [
     1324 + {
     1325 + "type": "integer"
     1326 + },
     1327 + {
     1328 + "type": "null"
     1329 + }
     1330 + ]
     1331 + },
     1332 + "architecture": {
     1333 + "type": "string"
     1334 + },
     1335 + "release": {
     1336 + "type": "string"
     1337 + },
     1338 + "sourceRpm": {
     1339 + "type": "string"
     1340 + },
     1341 + "size": {
     1342 + "type": "integer"
     1343 + },
     1344 + "license": {
     1345 + "type": "string"
     1346 + },
     1347 + "vendor": {
     1348 + "type": "string"
     1349 + },
     1350 + "modularityLabel": {
     1351 + "type": "string"
     1352 + },
     1353 + "files": {
     1354 + "items": {
     1355 + "$ref": "#/$defs/RpmdbFileRecord"
     1356 + },
     1357 + "type": "array"
     1358 + }
     1359 + },
     1360 + "type": "object",
     1361 + "required": [
     1362 + "name",
     1363 + "version",
     1364 + "epoch",
     1365 + "architecture",
     1366 + "release",
     1367 + "sourceRpm",
     1368 + "size",
     1369 + "license",
     1370 + "vendor",
     1371 + "modularityLabel",
     1372 + "files"
     1373 + ]
     1374 + },
     1375 + "RpmdbFileRecord": {
     1376 + "properties": {
     1377 + "path": {
     1378 + "type": "string"
     1379 + },
     1380 + "mode": {
     1381 + "type": "integer"
     1382 + },
     1383 + "size": {
     1384 + "type": "integer"
     1385 + },
     1386 + "digest": {
     1387 + "$ref": "#/$defs/Digest"
     1388 + },
     1389 + "userName": {
     1390 + "type": "string"
     1391 + },
     1392 + "groupName": {
     1393 + "type": "string"
     1394 + },
     1395 + "flags": {
     1396 + "type": "string"
     1397 + }
     1398 + },
     1399 + "type": "object",
     1400 + "required": [
     1401 + "path",
     1402 + "mode",
     1403 + "size",
     1404 + "digest",
     1405 + "userName",
     1406 + "groupName",
     1407 + "flags"
     1408 + ]
     1409 + },
     1410 + "Schema": {
     1411 + "properties": {
     1412 + "version": {
     1413 + "type": "string"
     1414 + },
     1415 + "url": {
     1416 + "type": "string"
     1417 + }
     1418 + },
     1419 + "type": "object",
     1420 + "required": [
     1421 + "version",
     1422 + "url"
     1423 + ]
     1424 + },
     1425 + "SearchResult": {
     1426 + "properties": {
     1427 + "classification": {
     1428 + "type": "string"
     1429 + },
     1430 + "lineNumber": {
     1431 + "type": "integer"
     1432 + },
     1433 + "lineOffset": {
     1434 + "type": "integer"
     1435 + },
     1436 + "seekPosition": {
     1437 + "type": "integer"
     1438 + },
     1439 + "length": {
     1440 + "type": "integer"
     1441 + },
     1442 + "value": {
     1443 + "type": "string"
     1444 + }
     1445 + },
     1446 + "type": "object",
     1447 + "required": [
     1448 + "classification",
     1449 + "lineNumber",
     1450 + "lineOffset",
     1451 + "seekPosition",
     1452 + "length"
     1453 + ]
     1454 + },
     1455 + "Secrets": {
     1456 + "properties": {
     1457 + "location": {
     1458 + "$ref": "#/$defs/Coordinates"
     1459 + },
     1460 + "secrets": {
     1461 + "items": {
     1462 + "$ref": "#/$defs/SearchResult"
     1463 + },
     1464 + "type": "array"
     1465 + }
     1466 + },
     1467 + "type": "object",
     1468 + "required": [
     1469 + "location",
     1470 + "secrets"
     1471 + ]
     1472 + },
     1473 + "Source": {
     1474 + "properties": {
     1475 + "id": {
     1476 + "type": "string"
     1477 + },
     1478 + "type": {
     1479 + "type": "string"
     1480 + },
     1481 + "target": true
     1482 + },
     1483 + "type": "object",
     1484 + "required": [
     1485 + "id",
     1486 + "type",
     1487 + "target"
     1488 + ]
     1489 + }
     1490 + }
     1491 +}
     1492 + 
  • ■ ■ ■ ■ ■ ■
    syft/formats/syftjson/test-fixtures/snapshot/TestEncodeFullJSONDocument.golden
    skipped 184 lines
    185 185   }
    186 186   },
    187 187   "schema": {
    188  - "version": "6.0.0",
    189  - "url": "https://raw.githubusercontent.com/anchore/syft/main/schema/json/schema-6.0.0.json"
     188 + "version": "6.1.0",
     189 + "url": "https://raw.githubusercontent.com/anchore/syft/main/schema/json/schema-6.1.0.json"
    190 190   }
    191 191  }
    192 192   
Please wait...
Page is in error, reload to recover